UIPropertyMetadata UIPropertyMetadata UIPropertyMetadata UIPropertyMetadata Class

Definition

Provides property metadata for non-framework properties that do have rendering/user interface impact at the core level.

public ref class UIPropertyMetadata : System::Windows::PropertyMetadata
public class UIPropertyMetadata : System.Windows.PropertyMetadata
type UIPropertyMetadata = class
    inherit PropertyMetadata
Public Class UIPropertyMetadata
Inherits PropertyMetadata
Inheritance
UIPropertyMetadataUIPropertyMetadataUIPropertyMetadataUIPropertyMetadata
Derived

Remarks

FrameworkPropertyMetadata (derived from this class) is the more common metadata class used for framework-level properties that also have rendering/user interface impact.

Constructors

UIPropertyMetadata() UIPropertyMetadata() UIPropertyMetadata() UIPropertyMetadata()

Initializes a new instance of the UIPropertyMetadata class.

UIPropertyMetadata(Object) UIPropertyMetadata(Object) UIPropertyMetadata(Object) UIPropertyMetadata(Object)

Initializes a new instance of the UIPropertyMetadata class, with the specified default value for the property.

UIPropertyMetadata(Object, PropertyChangedCallback) UIPropertyMetadata(Object, PropertyChangedCallback) UIPropertyMetadata(Object, PropertyChangedCallback) UIPropertyMetadata(Object, PropertyChangedCallback)

Initializes a new instance of the UIPropertyMetadata class, with the specified PropertyChanged callback.

UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback) UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback) UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback) UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback)

Initializes a new instance of the UIPropertyMetadata class, with the specified default value and callbacks.

UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback, Boolean) UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback, Boolean) UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback, Boolean) UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback, Boolean)

Initializes a new instance of the UIPropertyMetadata class, with the specified default value and callbacks, and a Boolean used to disable animations on the property.

UIPropertyMetadata(PropertyChangedCallback) UIPropertyMetadata(PropertyChangedCallback) UIPropertyMetadata(PropertyChangedCallback) UIPropertyMetadata(PropertyChangedCallback)

Initializes a new instance of the UIPropertyMetadata class, with the specified PropertyChanged callback.

Properties

CoerceValueCallback CoerceValueCallback CoerceValueCallback CoerceValueCallback

Gets or sets a reference to a CoerceValueCallback implementation specified in this metadata.

(Inherited from PropertyMetadata)
DefaultValue DefaultValue DefaultValue DefaultValue

Gets or sets the default value of the dependency property.

(Inherited from PropertyMetadata)
IsAnimationProhibited IsAnimationProhibited IsAnimationProhibited IsAnimationProhibited

Gets or sets a value declaring whether animations should be disabled on the dependency property where the containing metadata instance is applied.

IsSealed IsSealed IsSealed IsSealed

Gets a value that determines whether the metadata has been applied to a property in some way, resulting in the immutable state of that metadata instance.

(Inherited from PropertyMetadata)
PropertyChangedCallback PropertyChangedCallback PropertyChangedCallback PropertyChangedCallback

Gets or sets a reference to a PropertyChangedCallback implementation specified in this metadata.

(Inherited from PropertyMetadata)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Merge(PropertyMetadata, DependencyProperty) Merge(PropertyMetadata, DependencyProperty) Merge(PropertyMetadata, DependencyProperty) Merge(PropertyMetadata, DependencyProperty)

Merges this metadata with the base metadata.

(Inherited from PropertyMetadata)
OnApply(DependencyProperty, Type) OnApply(DependencyProperty, Type) OnApply(DependencyProperty, Type) OnApply(DependencyProperty, Type)

Called when this metadata has been applied to a property, which indicates that the metadata is being sealed.

(Inherited from PropertyMetadata)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also