PropertyMetadata PropertyMetadata PropertyMetadata PropertyMetadata Class

Definition

Warning

This API is now obsolete.

Represents the behavior of a dependency property.

public ref 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
Public Class PropertyMetadata
Inheritance
PropertyMetadataPropertyMetadataPropertyMetadataPropertyMetadata
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() PropertyMetadata() PropertyMetadata() PropertyMetadata()

Initializes a new instance of the PropertyMetadata class.

PropertyMetadata(Attribute[]) PropertyMetadata(Attribute[]) PropertyMetadata(Attribute[]) PropertyMetadata(Attribute[])

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

PropertyMetadata(DependencyPropertyOptions) PropertyMetadata(DependencyPropertyOptions) PropertyMetadata(DependencyPropertyOptions) PropertyMetadata(DependencyPropertyOptions)

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

PropertyMetadata(DependencyPropertyOptions, Attribute[]) PropertyMetadata(DependencyPropertyOptions, Attribute[]) PropertyMetadata(DependencyPropertyOptions, Attribute[]) PropertyMetadata(DependencyPropertyOptions, Attribute[])

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

PropertyMetadata(Object) PropertyMetadata(Object) PropertyMetadata(Object) PropertyMetadata(Object)

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

PropertyMetadata(Object, Attribute[]) PropertyMetadata(Object, Attribute[]) PropertyMetadata(Object, Attribute[]) PropertyMetadata(Object, Attribute[])

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

PropertyMetadata(Object, DependencyPropertyOptions) PropertyMetadata(Object, DependencyPropertyOptions) PropertyMetadata(Object, DependencyPropertyOptions) PropertyMetadata(Object, DependencyPropertyOptions)

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

PropertyMetadata(Object, DependencyPropertyOptions, Attribute[]) PropertyMetadata(Object, DependencyPropertyOptions, Attribute[]) PropertyMetadata(Object, DependencyPropertyOptions, Attribute[]) 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) PropertyMetadata(Object, DependencyPropertyOptions, GetValueOverride, SetValueOverride) PropertyMetadata(Object, DependencyPropertyOptions, GetValueOverride, SetValueOverride) 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, GetValueOverride, SetValueOverride, Attribute[]) PropertyMetadata(Object, DependencyPropertyOptions, GetValueOverride, SetValueOverride, Attribute[]) PropertyMetadata(Object, DependencyPropertyOptions, GetValueOverride, SetValueOverride, Attribute[]) 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.

Properties

DefaultValue DefaultValue DefaultValue DefaultValue

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

GetValueOverride GetValueOverride GetValueOverride GetValueOverride

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

IsMetaProperty IsMetaProperty IsMetaProperty IsMetaProperty

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

IsNonSerialized IsNonSerialized IsNonSerialized IsNonSerialized

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

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

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

IsSealed IsSealed IsSealed IsSealed

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

Options Options Options Options

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

SetValueOverride SetValueOverride SetValueOverride SetValueOverride

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

Methods

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

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

(Inherited from Object)
GetAttributes() GetAttributes() GetAttributes() GetAttributes()

Retrieves an array that contains all attributes.

GetAttributes(Type) GetAttributes(Type) GetAttributes(Type) GetAttributes(Type)

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

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

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to