XamlProperty Class
Definition
Describes a property on a XamlObject.
Inheritance
Syntax
public sealed class XamlProperty
Properties
Category | Gets the category of the property. |
CollectionElements | Gets the collection elements of the property. Is empty if the property is not a collection. |
DependencyProperty | Gets the dependency property. |
IsAdvanced | Gets if this property is considered "advanced" and should be hidden by default in a property grid. |
IsAttached | Gets if this property is an attached property. |
IsCollection | Gets if the property is a collection property. |
IsEvent | Gets if this property is an event. |
IsResources | Gets if the property represents the FrameworkElement.Resources property that holds a locally-defined resource dictionary. |
IsSet | Gets if the property is set. |
ParentObject | Gets the parent object for which this property was declared. |
PropertyName | Gets the property name. |
PropertyTargetType | Gets the type the property is declared on. |
PropertyValue | Gets the value of the property. Can be null if the property is a collection property. |
ReturnType | Gets the return type of the property. |
SystemXamlMemberForProperty | Gets a System.Xaml.XamlMember representing the property. |
SystemXamlTypeForProperty | Gets a System.Xaml.XamlType representing the type the property is declared on. |
TypeConverter | Gets the type converter used to convert property values to/from string. |
ValueOnInstance | Gets/Sets the value of the property on the instance without updating the XAML document. |
Methods
InvokeValueChanged() | Invokes the ValueChanged event. |
Reset() | Resets the properties value. |
Events
IsSetChanged | Occurs when the value of the IsSet property has changed. |
ValueChanged | Occurs when the value of the property has changed. |
ValueOnInstanceChanged | Occurs when MarkupExtension evaluated PropertyValue doesn't changed but ValueOnInstance does. |