dependency-properties
Sending Values from View To ViewModel
I have a senario here... (Extremely sorry writing such a long post) I have are TreeView(Bound to the observable collection of Phones(Different types)) i have a contentCOntrol whose COntent Binding is[详细]
2023-04-12 23:49 分类:问答WebBrowser in WPF using MVVM pattern
I am trying to open HTML file in WebBrowser window of WPF using MVVM patten. Note: I have fixed the issuesi was getting. Now this code works as desired.[详细]
2023-04-12 01:43 分类:问答How to add callbacks to Framework Element's Visibility Dependency Property?
I\'m using a dependency property which handles the fade-in / fade-out of a Framework Element. The property is able to handle the fade-in / fade-out animation by registering callback methods for when[详细]
2023-04-12 00:57 分类:问答Binding two Dependency properties in WPF
I declare two Dependency properties: first, FilterColor of type Color and second FilterBrush of type Br开发者_StackOverflow社区ush.[详细]
2023-04-11 08:34 分类:问答C# dependent property / property coercion
I have the following class: public class Numbers :INotifyPropertyChanged { private double _Max; public double Max[详细]
2023-04-10 23:09 分类:问答How can I change only a single option of a DependencyProperty's metadata in a subclass?
We need to override a DependencyProperty\'s metadata for our subclass.Now I know that I can use OverrideMetadata and specify entirely new FrameworkPropertyMetadata object, but for the most part I want[详细]
2023-04-10 17:09 分类:问答Binding to Custom Control Property
I am developing an Account List dropdown control which is to be used across my application. The dropdown will make a call to a service and retrieve the list of available accounts, and will expose a pr[详细]
2023-04-09 17:17 分类:问答Adding a property to a silverlight 4 control to add functionality
I am curious how I can add a property to add functionality to a control. Currently I am just extending controls, but I was curious if it is possib开发者_StackOverflowle to add a property to add functi[详细]
2023-04-09 11:35 分类:问答wp7: how to create image button and bind template to ImageSource dependency property
I am trying to create a silverlight imagebutton control.the xaml and code-behind will follow, but my problem is that I get an \'unspecified error\' when i try a TemplateBinding to the image\'s source[详细]
2023-04-09 09:46 分类:问答Help converting NotifyOnChange Properties to Dependency Properties
What is the best way of converting the fictional code below to dependency properties? Where the Date Property will be in another control?[详细]
2023-04-07 15:21 分类:问答