Export (0) Print
Expand All

PropertyMetadata Class

Note: This API is now obsolete.

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)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
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 propertyDefaultValueGets or sets 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 propertyIsSealedGets a value that indicates 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 the default hash function. (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

NoteNote

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

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft