dependency-properties
Trying to Understand Dependency Properties
I have been trying to understand and get something working with dependency properties. I have read loads of descriptions and explanations about DP\'s, and I also think I understand where they should[详细]
2023-02-21 23:35 分类:问答Extending an existing control for MVVM
I am tring to extend an existing microsoft control called the PivotViewer. This control has an existing property that I want to expose to my ViewModel.[详细]
2023-02-21 22:00 分类:问答Access bound object in UserControl code behind with DependencyProperty
I am having trouble setting a property of a custom user control using a DependencyProperty through databinding on the parent UserControl.[详细]
2023-02-21 19:44 分类:问答Problem databinding with WPF
Been beating my head against a wall and figured it was time to post a question.I have the following user control[详细]
2023-02-21 19:15 分类:问答Silverlight: Binding to UserControl's dependency properties
I have an user control named GraphPanel. It has two dependency properties, one custom, PanelTitle, and the other inherited from the FrameworkElement, Content.[详细]
2023-02-21 17:53 分类:问答Using the Same FrameworkPropertyMetaData more than once
I have 3 dependancy Properties and a开发者_Go百科 FrameworkPropertyMetadata, I get a crash when I try to use the metadata on more than one DP. I dont want to have 3 duplicates of the metadatam is ther[详细]
2023-02-21 17:34 分类:问答WPF DataTrigger / DataBinding failing?
EDIT: So, it turns out that it was a problem with the code in the VM (embarrassingly enough checking on a property that always returned true [after a refactoring session] ) - I\'d kind of assumed that[详细]
2023-02-21 02:03 分类:问答How to use PropertyChangedCallBack
I have a TextBox Binded to a dependancy property, I have implemented a PropertyChangedCallBack function, when the text changes I need to call textbox.ScrollToEnd() but I cant since the PropertChanged[详细]
2023-02-20 19:21 分类:问答Update binding without DependencyProperty
I have a lot of existing business objects with many properties and collections inside which I want to bind the userinterface to. Using DependencyProp开发者_开发技巧erty or ObservableCollections inside[详细]
2023-02-20 17:17 分类:问答How does the Silverlight/WPF runtime know how to set a dependency property?
So I think I understand what a dependency property is and why we need them - they are properties managed by the Silverlight/WPF libraries such that the runtime can have some control over how they are[详细]
2023-02-20 12:23 分类:问答