dependency-properties
Silverlight 4 - How to set Custom Attached Dependency property in Style?
I have the following in my root ResourceDictionary. The Foreground = Red part works, but the custom attached dependency property does not get set.[详细]
2023-03-06 02:26 分类:问答UserControl with multiple TextBoxes' that aggregate into a DependencyProperty
I\'m trying to build a UserControl that is essentially an IPv4 Address \'text box\'. In the UserControl there are 4 TextBoxes, with a TextBlock containing a single \".\" between each TextBox:[详细]
2023-03-06 02:02 分类:问答Using private field as ItemsSource of ItemsControl?
Lets have a class: public partial class MyControl: UserControl{ private ObservableCollection<string> names =[详细]
2023-03-05 08:45 分类:问答KVO for dependent property depending on itself
I\'ve defined two properties with corresponding ivars and synthesized them: @property (nonatomic,copy) NSString* title;[详细]
2023-03-05 03:15 分类:问答How to simply bind this to ConverterParameter?
I have problem and i don\'t know how to solv开发者_如何学Ce this simple, i have many points like this, then solution should be not complicated.[详细]
2023-03-03 19:49 分类:问答DependencyProperty PropertyChangedCallback problem
Sorry for my English. I try to write UserControl (SearchTextBox...开发者_如何学Pythonsimmillar Firefox search textbox) that consists from TextBox, Popup and ListBox in a Popup. I need to change Items[详细]
2023-03-03 16:58 分类:问答WPF: Nested DependencyProperties
I have an ObservableCollection of \"Layouts\" and a \"SelectedLocation\" DependencyProperty on a Window. The SelectedLocation has a property called \"Layout\", which is an object containing fields lik[详细]
2023-03-03 14:22 分类:问答Periodically update silverlight view with MVVM
I am trying to use MVVM in Silverlight, but I am quite new to it so I am 开发者_开发技巧not quite sure on some things. I have a silverlight page which displays the progress of some server side operati[详细]
2023-03-03 02:28 分类:问答Where does the dependency property comes from when redefining control template?
Let say you have 2 WPF buttons. One uses TextBlock, not the other one. <Button x:Name=\"Button1\">[详细]
2023-03-02 22:29 分类:问答DependencyProperty Converter On UserControl
I am working on a user control that has some dependency properties, namely; public static readonly DependencyProperty TitleWidthProperty = DependencyProperty.Register(\"TitleWidth\", typeof(double),[详细]
2023-03-02 19:20 分类:问答