Export (0) Print
Expand All

PropertyMetadata Class

Represents the behavior of a dependency property.

System.Object
  System.Workflow.ComponentModel.PropertyMetadata

Namespace:  System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public class PropertyMetadata

The PropertyMetadata type exposes the following members.

  NameDescription
Public methodPropertyMetadata()Initializes a new instance of the PropertyMetadata class.
Public methodPropertyMetadata(Attribute[])Initializes a new instance of the PropertyMetadata class with an array of attributes.
Public methodPropertyMetadata(DependencyPropertyOptions)Initializes a new instance of the PropertyMetadata class with a DependencyPropertyOptions enumeration value.
Public methodPropertyMetadata(Object)Initializes a new instance of the PropertyMetadata class with a default property value.
Public methodPropertyMetadata(DependencyPropertyOptions, Attribute[])Initializes a new instance of the PropertyMetadata class with a DependencyPropertyOptions enumeration value and an array of attributes.
Public methodPropertyMetadata(Object, Attribute[])Initializes a new instance of the PropertyMetadata class with a default property value and an array of attributes.
Public methodPropertyMetadata(Object, DependencyPropertyOptions)Initializes a new instance of the PropertyMetadata class with a default property value and a DependencyPropertyOptions enumeration value.
Public methodPropertyMetadata(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.
Public methodPropertyMetadata(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.
Public methodPropertyMetadata(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.
Top

  NameDescription
Public propertyDefaultValueRepresents the default value of the associated dependency property.
Public propertyGetValueOverrideGets or sets the GetValueOverride callback, a callback invoked immediately upon a call to the GetValue method.
Public propertyIsMetaPropertyGets a value that indicates whether the Options is set to Metadata.
Public propertyIsNonSerializedGets a value that indicates whether the Options is set to NonSerialized.
Public propertyIsReadOnlyGets a value that indicates whether the Options are set to ReadOnly.
Protected propertyIsSealedDetermines whether the PropertyMetadata has been applied to a property resulting in the immutable state.
Public propertyOptionsGets or set the property which represents the option setting for the DependencyProperty associated to this PropertyMetadata.
Public propertySetValueOverrideGets or sets the SetValueOverride callback, a callback invoked immediately upon a call to the SetValue method.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAttributes()Retrieves an array that contains all attributes.
Public methodGetAttributes(Type)Receives an array of type Attribute that contains those attributes having type equal to attributeType.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnApplyProvides processing when this PropertyMetadata is applied to a dependency property.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft