I am currently working on a cbt software and i want the questions to be coming randomly ( one per page) which is working. Please how can i program Previous and Next button with WPF of VB.NET so user can skip and later go back before the exam finishes. Please help me. Have been on it for like 3 weeks now. thank you
Not exactly sure what you're after here. If the tables are related then you need to join them on a common field and show the results as one query. If they are not related you can always use a cross join which will return rows from table1 combined with each row of table2:
SELECT * FROM Table1 CROSS JOIN Table2
SELECT * FROM Table1, Table2
Never underestimate the creativity of the end-user.
I would like to have an icon switch between red and green, for inactive/active, and will have approximately a dozen scattered throughout several grids. I looked into DataBinding and IValueConverter, but have not been successful in getting the functionality that I am looking for. Question, is this the best way most efficient way for switching an icon off and on.
I've created a style that allows me to use a custom image in place of the default up/down arrow in an expander. How can I create this style so that I can set the image in the place where the expander is used, instead of setting it in the style.
Sorry, a bit long. The image is after the second comment
If you bought a set of controls, such as Telerik, and used them in 3 different projects, each of those projects can have a different look and feel.
So how does the app tell the control what style to use? The Telerik assembly doesn't know about your app.
How do you tell specific controls in that library what to look like. It's not enough to set the TargetType because that will set ALL controls of that type. You would need a way to say "For this specific combobox, make it look like this".
If in the User Control library I created a reference to the app, that makes that User Control library bound forever to that one app.
The other way around is how it's used. The app know about the UC library, not the UC library knowing about the app.
The TimePicker has a TextBlock and 3 ComboBoxes. There has to be a way in the form it's on to say "Set the combo boxes to use TimerPickerComboStyle" without the entire UC assembly having a ref to the App project.
so the App has a ref to both the shared styles project AND the UC project. Once I drop the control onto a form, I could then use the DP to set its style, assuming TimePickerComboStyle is the shared styles project?
i have a control, when i rotate it, some corners out of canvas
i would like to avoid this situation
however i try to get position of 4 corners of canvas and control are fail
who can suggest an idea to me ?
I have one single UserControl library, it has more than 20 of controls. Some of client wants to hide the 2-3 controls. I have to bind the visibility properties of all the controls based on different client types. Which is the best approach to know the which client wants the particular controls.
The problem is down to the fact that you have applied a rotation to your Header. It's always going to appear at 90 degrees. You could simply apply a trigger that fires off IsExpanded, and translation at that point.