The PropertyDefinition type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PropertyDefinition |
Constructor for PropertyDefinition.
|
Methods
Name | Description | |
---|---|---|
CheckAccess | Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) | |
ClearValue(DependencyProperty) | Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) | |
ClearValue(DependencyPropertyKey) | Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. (Inherited from DependencyObject.) | |
Clone | Creates a modifiable clone of the Freezable, making deep copies of the object's values. When copying the object's dependency properties, this method copies expressions (which might no longer resolve) but not animations or their current values. (Inherited from Freezable.) | |
CloneCommon | (Inherited from FreezableFilteredCustomTypeDescriptorBase.) | |
CloneCore | (Inherited from FreezableFilteredCustomTypeDescriptorBase.) | |
CloneCurrentValue | Creates a modifiable clone (deep copy) of the Freezable using its current values. (Inherited from Freezable.) | |
CloneCurrentValueCore | (Inherited from FreezableFilteredCustomTypeDescriptorBase.) | |
CoerceValue | Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. (Inherited from DependencyObject.) | |
Equals | Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (Inherited from DependencyObject.) | |
Freeze | Makes the current object unmodifiable and sets its IsFrozen property to true. (Inherited from Freezable.) | |
GetAsFrozen | Creates a frozen copy of the Freezable, using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Inherited from Freezable.) | |
GetAsFrozenCore | (Inherited from FreezableFilteredCustomTypeDescriptorBase.) | |
GetComponent |
Gets the component instance that owns the property defined by this PropertyDefinition
| |
GetComponentType |
Gets the type of the component instance that owns the property defined by this PropertyDefinition
| |
GetCurrentValueAsFrozen | Creates a frozen copy of the Freezable using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (Inherited from Freezable.) | |
GetCurrentValueAsFrozenCore | (Inherited from FreezableFilteredCustomTypeDescriptorBase.) | |
GetHashCode | Gets a hash code for this DependencyObject. (Inherited from DependencyObject.) | |
GetLocalValueEnumerator | Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (Inherited from DependencyObject.) | |
GetPropertyType |
Gets the type of the property defined by this PropertyDefinition.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) | |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property (Inherited from DependencyObject.) | |
ReadLocalValue | Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) | |
SetCurrentValue | Sets the value of a dependency property without changing its value source. (Inherited from DependencyObject.) | |
SetValue(DependencyProperty, Object) | Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) | |
SetValue(DependencyPropertyKey, Object) | Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyAccess | Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.) |
Fields
Name | Description | |
---|---|---|
CategoryProperty | DependencyProperty for the Category property | |
DefaultPropertyValueProperty | DependencyProperty for the DefaultPropertyValue property | |
DescriptionProperty | DependencyProperty for the Description property | |
NameProperty | DependencyProperty for the Name property | |
OverrideConverterTypeProperty | DependencyProperty for the OverrideConverterType property | |
OverrideEditorTypeProperty | DependencyProperty for the OverrideEditorType property | |
PropertyIdProperty | DependencyProperty for the PropertyId property | |
PropertyTypeProperty | DependencyProperty for the PropertyType property | |
ValueProperty | DependencyProperty for the Value property |
Properties
Name | Description | |
---|---|---|
CanFreeze | Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.) | |
Category |
Gets/sets the category to which this property belongs. The category is used to group
related properties in the PropertyGrid control.
| |
DefaultValue |
Gets/sets the default value of the property.
| |
DependencyObjectType | Gets the DependencyObjectType that wraps the CLR type of this instance. (Inherited from DependencyObject.) | |
DependencyProperty |
Gets a DependencyProperty for this PropertyDefinition.
| |
Description |
Gets/sets a description for the property. The description will be shown as the help tip
text in the PropertyGrid control.
| |
Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) | |
IsFrozen | Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.) | |
IsSealed | Gets a value that indicates whether this instance is currently sealed (read-only). (Inherited from DependencyObject.) | |
Name |
Gets/sets the name of the property.
| |
OverrideConverterType |
Full type name (including namespace) and assembly name of a TypeConverter to use for the property (in the format: typename,assemblyname).
If not specified, an appropriate converter will automatically be used.
A TypeConverter is used to provide custom conversion of a property value to/from a string; it may also provide a list of allowed value.
| |
OverrideEditorType |
Full type name (including namespace) and assembly name of an Editor to use for the property (in the format: typename,assemblyname).
If not specified, an appropriate editor will automatically be used. An Editor provides a custom GUI used to select a new value for the property.
| |
PropertyType |
Gets/sets the Type of the property as a string.
The string represents a "well-known-typename", or the FullName of the type (includes namespace).
|
Events
Name | Description | |
---|---|---|
Changed | Occurs when the Freezable or an object it contains is modified. (Inherited from Freezable.) |