Bewerken

Delen via


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
UIPropertyMetadata
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()

Initializes a new instance of the UIPropertyMetadata class.

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(Object, PropertyChangedCallback, CoerceValueCallback)

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

UIPropertyMetadata(Object, PropertyChangedCallback)

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

UIPropertyMetadata(Object)

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

UIPropertyMetadata(PropertyChangedCallback)

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

Properties

CoerceValueCallback

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

(Inherited from PropertyMetadata)
DefaultValue

Gets or sets the default value of the dependency property.

(Inherited from PropertyMetadata)
IsAnimationProhibited

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

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

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

(Inherited from PropertyMetadata)

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Merge(PropertyMetadata, DependencyProperty)

Merges this metadata with the base metadata.

(Inherited from PropertyMetadata)
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()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also