dependency-properties
DependencyProperty from string
How do I convert a property name (in string) to a DependencyProperty? I have a set of property names,开发者_开发知识库 its values in string and a DependencyObject. Now I want to set these property va[详细]
2023-03-11 06:59 分类:问答Custom property dependant on other properties
Advance apologies for the event-style explanation; there\'s a lot of factors that I feel all play a role of their own. WPF is not my native framework of choice, and it probably shows. :)[详细]
2023-03-11 03:42 分类:问答Initiate change of a DependencyProperty of a ViewModel with a Event of another Thread
I want to change a DependencyProperty of my Vie开发者_如何学GowModel from a class which connects the application to a database.[详细]
2023-03-09 16:26 分类:问答Binding within an AttachedProperty of Type Collection to an other Element
I want to create an AttachedProperty of Type Collection, which contains references to other existing elements, as shown below:[详细]
2023-03-09 12:19 分类:问答Another "Items collection must be empty before using ItemsSource"
I have a control with this xaml: <Controls:TreeView x:Name=\"MachineGroupsTree\" Style=\"{StaticResource MachineGroupStyle}\" >[详细]
2023-03-09 11:41 分类:问答Design Pattern - WPF Automatically add AttachedProperty to parent
I\'ve created a custom UserControl which is some kind of virtual keyboard button. I\'m looking for the following functionally:[详细]
2023-03-08 19:30 分类:问答Silverlight: Data Binding: Using of Dependency Properties within a Row of a Collection
I have an collection + its structure: public class FunctionListBindStructure : AttributeBase { public FunctionListBindStructure() : base(true) {}[详细]
2023-03-08 17:54 分类:问答Attached Dependency Property vs. Dictionary - Silverlight
first post.So first off, thanks for all the help over the years as I\'ve learned from the sidelines.I just have a rather specific code-design question that I couldn\'t find elsewhere.[详细]
2023-03-07 04:19 分类:问答WPF - How to get my Panel to see if a DependencyProperty is set on my child when they are UIElements?
Basically, during my MeasureOverride I want to check to see if my child element has a certain property set on it regardless of what type of item it is.[详细]
2023-03-07 02:29 分类:问答WPF Dependency Property Inheritance
I have a scenario in which DP Inheritance is not working, my code can also be wrong. I have a Par开发者_如何学Pythonent control with a bool Dependency Property \"CanShow\" on ViewModel. This enables/[详细]
2023-03-06 04:41 分类:问答