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.