This is similar to my previous question, but that solution did not solve this problem. fontSizeProperty is not being recognized when I move a method from my Silverlight MainPage code behind (which wo
I am trying to create a composite DataContext for a UserControl. Basically I have a control which has Order and Package properties and I wanted to create the composite object representing this datasou
As mentioned in this question, there are at least two ways by which I can be notified that the value bound to a dependency property has changed:
What I need to do is? I need to make one expression on which dependency property should depends on. Suppose as per below:
I\'ve created a UserControl with an ItemContext DependencyProperty. This property contains the name of the property of my DataContext object the Control\'s text property should bind to.
So I have a Button with an AutomationId (used by Microsoft UI Automation) like so: <Button Name=\"myButton\" Automat开发者_如何学JAVAionId=\"myButtonAutomationID\"
My problem: I would like to validate the user input of a TextBox using the control\'s ValidatesOnExceptions property.
I am making an application for Windows Phone 7, and i ran into the following problem: When I make a usercontrol that contains a textbox, and make a DependencyProperty to be able to databind it, the pr
I have the following code: private static readonly DependencyProperty IDProperty = DependencyProperty.Register(
Factory.CreateExport() create\'s a ExportLifetimeContext<T> Is there any way to actually pass in a parameter to it so it creates it with a parameter. I found some example code that wasn\'t exa