Redigera

Dela via


PropertyMetadata Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Represents the behavior of a dependency property.

public ref class PropertyMetadata
public class PropertyMetadata
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class PropertyMetadata
type PropertyMetadata = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type PropertyMetadata = class
Public Class PropertyMetadata
Inheritance
PropertyMetadata
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Constructors

PropertyMetadata()

Initializes a new instance of the PropertyMetadata class.

PropertyMetadata(Attribute[])

Initializes a new instance of the PropertyMetadata class with an array of attributes.

PropertyMetadata(DependencyPropertyOptions, Attribute[])

Initializes a new instance of the PropertyMetadata class with a DependencyPropertyOptions enumeration value and an array of attributes.

PropertyMetadata(DependencyPropertyOptions)

Initializes a new instance of the PropertyMetadata class with a DependencyPropertyOptions enumeration value.

PropertyMetadata(Object, Attribute[])

Initializes a new instance of the PropertyMetadata class with a default property value and an array of attributes.

PropertyMetadata(Object, DependencyPropertyOptions, Attribute[])

Initializes a new instance of the PropertyMetadata class with a default property value, a DependencyPropertyOptions enumeration value, and an array of attributes.

PropertyMetadata(Object, DependencyPropertyOptions, GetValueOverride, SetValueOverride, Attribute[])

Initializes a new instance of the PropertyMetadata class with a default property value, a DependencyPropertyOptions enumeration value, delegates to override the GetValue and SetValue logic associated with the dependency property, and an array of attributes.

PropertyMetadata(Object, DependencyPropertyOptions, GetValueOverride, SetValueOverride)

Initializes a new instance of the PropertyMetadata class with a default property value, a DependencyPropertyOptions enumeration value, and delegates to override the GetValue and SetValue logic associated with the dependency property.

PropertyMetadata(Object, DependencyPropertyOptions)

Initializes a new instance of the PropertyMetadata class with a default property value and a DependencyPropertyOptions enumeration value.

PropertyMetadata(Object)

Initializes a new instance of the PropertyMetadata class with a default property value.

Properties

DefaultValue

Gets or sets the default value of the associated dependency property.

GetValueOverride

Gets or sets the GetValueOverride callback, a callback invoked immediately upon a call to the GetValue(DependencyProperty) method.

IsMetaProperty

Gets a value that indicates whether the Options is set to Metadata.

IsNonSerialized

Gets a value that indicates whether the Options is set to NonSerialized.

IsReadOnly

Gets a value that indicates whether the Options are set to ReadOnly.

IsSealed

Gets a value that indicates whether the PropertyMetadata has been applied to a property resulting in the immutable state.

Options

Gets or sets the property which represents the option setting for the DependencyProperty associated to this PropertyMetadata.

SetValueOverride

Gets or sets the SetValueOverride callback, a callback invoked immediately upon a call to the SetValue(DependencyProperty, Object) method.

Methods

Equals(Object)

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

(Inherited from Object)
GetAttributes()

Retrieves an array that contains all attributes.

GetAttributes(Type)

Receives an array of type Attribute that contains those attributes having type equal to attributeType.

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)
OnApply(DependencyProperty, Type)

Provides processing when this PropertyMetadata is applied to a dependency property.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to