ערוך

שתף באמצעות


PropertyMetadata Constructors

Definition

Initializes a new instance of the PropertyMetadata class.

Overloads

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

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

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)

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

PropertyMetadata(DependencyPropertyOptions, Attribute[])

Initializes a new instance of the PropertyMetadata class with a DependencyPropertyOptions enumeration 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)

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[])

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

Initializes a new instance of the PropertyMetadata class.

public:
 PropertyMetadata();
public PropertyMetadata ();
Public Sub New ()

Applies to

PropertyMetadata(Attribute[])

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

public:
 PropertyMetadata(... cli::array <Attribute ^> ^ attributes);
public PropertyMetadata (params Attribute[] attributes);
new System.Workflow.ComponentModel.PropertyMetadata : Attribute[] -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (ParamArray attributes As Attribute())

Parameters

attributes
Attribute[]

Attributes applicable to the dependency property, such as DesignerSerializationVisibilityAttribute and ValidationOptionAttribute.

Applies to

PropertyMetadata(Object)

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

public:
 PropertyMetadata(System::Object ^ defaultValue);
public PropertyMetadata (object defaultValue);
new System.Workflow.ComponentModel.PropertyMetadata : obj -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (defaultValue As Object)

Parameters

defaultValue
Object

The object representing the DefaultValue of this PropertyMetadata.

Applies to

PropertyMetadata(DependencyPropertyOptions)

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

public:
 PropertyMetadata(System::Workflow::ComponentModel::DependencyPropertyOptions options);
public PropertyMetadata (System.Workflow.ComponentModel.DependencyPropertyOptions options);
new System.Workflow.ComponentModel.PropertyMetadata : System.Workflow.ComponentModel.DependencyPropertyOptions -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (options As DependencyPropertyOptions)

Parameters

options
DependencyPropertyOptions

A bitwise combination of the enumeration values that define the associated dependency property.

Applies to

PropertyMetadata(Object, Attribute[])

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

public:
 PropertyMetadata(System::Object ^ defaultValue, ... cli::array <Attribute ^> ^ attributes);
public PropertyMetadata (object defaultValue, params Attribute[] attributes);
new System.Workflow.ComponentModel.PropertyMetadata : obj * Attribute[] -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (defaultValue As Object, ParamArray attributes As Attribute())

Parameters

defaultValue
Object

The object that represents the DefaultValue of this PropertyMetadata.

attributes
Attribute[]

Attributes applicable to the dependency property, such as DesignerSerializationVisibilityAttribute and ValidationOptionAttribute.

Applies to

PropertyMetadata(Object, DependencyPropertyOptions)

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

public:
 PropertyMetadata(System::Object ^ defaultValue, System::Workflow::ComponentModel::DependencyPropertyOptions options);
public PropertyMetadata (object defaultValue, System.Workflow.ComponentModel.DependencyPropertyOptions options);
new System.Workflow.ComponentModel.PropertyMetadata : obj * System.Workflow.ComponentModel.DependencyPropertyOptions -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (defaultValue As Object, options As DependencyPropertyOptions)

Parameters

defaultValue
Object

The object representing the DefaultValue of this PropertyMetadata.

options
DependencyPropertyOptions

A bitwise combination of the enumeration values that define the associated dependency property.

Applies to

PropertyMetadata(DependencyPropertyOptions, Attribute[])

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

public:
 PropertyMetadata(System::Workflow::ComponentModel::DependencyPropertyOptions options, ... cli::array <Attribute ^> ^ attributes);
public PropertyMetadata (System.Workflow.ComponentModel.DependencyPropertyOptions options, params Attribute[] attributes);
new System.Workflow.ComponentModel.PropertyMetadata : System.Workflow.ComponentModel.DependencyPropertyOptions * Attribute[] -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (options As DependencyPropertyOptions, ParamArray attributes As Attribute())

Parameters

options
DependencyPropertyOptions

A bitwise combination of the enumeration values that define the associated dependency property.

attributes
Attribute[]

Attributes applicable to the dependency property, such as DesignerSerializationVisibilityAttribute and ValidationOptionAttribute.

Applies to

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.

public:
 PropertyMetadata(System::Object ^ defaultValue, System::Workflow::ComponentModel::DependencyPropertyOptions options, ... cli::array <Attribute ^> ^ attributes);
public PropertyMetadata (object defaultValue, System.Workflow.ComponentModel.DependencyPropertyOptions options, params Attribute[] attributes);
new System.Workflow.ComponentModel.PropertyMetadata : obj * System.Workflow.ComponentModel.DependencyPropertyOptions * Attribute[] -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (defaultValue As Object, options As DependencyPropertyOptions, ParamArray attributes As Attribute())

Parameters

defaultValue
Object

The object that represents the DefaultValue of this PropertyMetadata.

options
DependencyPropertyOptions

A bitwise combination of the enumeration values that define the associated dependency property.

attributes
Attribute[]

Attributes applicable to the dependency property, such as DesignerSerializationVisibilityAttribute and ValidationOptionAttribute.

Applies to

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.

public:
 PropertyMetadata(System::Object ^ defaultValue, System::Workflow::ComponentModel::DependencyPropertyOptions options, System::Workflow::ComponentModel::GetValueOverride ^ getValueOverride, System::Workflow::ComponentModel::SetValueOverride ^ setValueOverride);
public PropertyMetadata (object defaultValue, System.Workflow.ComponentModel.DependencyPropertyOptions options, System.Workflow.ComponentModel.GetValueOverride getValueOverride, System.Workflow.ComponentModel.SetValueOverride setValueOverride);
new System.Workflow.ComponentModel.PropertyMetadata : obj * System.Workflow.ComponentModel.DependencyPropertyOptions * System.Workflow.ComponentModel.GetValueOverride * System.Workflow.ComponentModel.SetValueOverride -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (defaultValue As Object, options As DependencyPropertyOptions, getValueOverride As GetValueOverride, setValueOverride As SetValueOverride)

Parameters

defaultValue
Object

The object that represents the DefaultValue of this PropertyMetadata.

options
DependencyPropertyOptions

A bitwise combination of the enumeration values that define the associated dependency property.

getValueOverride
GetValueOverride

The GetValueOverride delegate that belongs to this instance.

setValueOverride
SetValueOverride

The SetValueOverride delegate that belongs to this instance.

Applies to

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.

public:
 PropertyMetadata(System::Object ^ defaultValue, System::Workflow::ComponentModel::DependencyPropertyOptions options, System::Workflow::ComponentModel::GetValueOverride ^ getValueOverride, System::Workflow::ComponentModel::SetValueOverride ^ setValueOverride, ... cli::array <Attribute ^> ^ attributes);
public PropertyMetadata (object defaultValue, System.Workflow.ComponentModel.DependencyPropertyOptions options, System.Workflow.ComponentModel.GetValueOverride getValueOverride, System.Workflow.ComponentModel.SetValueOverride setValueOverride, params Attribute[] attributes);
new System.Workflow.ComponentModel.PropertyMetadata : obj * System.Workflow.ComponentModel.DependencyPropertyOptions * System.Workflow.ComponentModel.GetValueOverride * System.Workflow.ComponentModel.SetValueOverride * Attribute[] -> System.Workflow.ComponentModel.PropertyMetadata
Public Sub New (defaultValue As Object, options As DependencyPropertyOptions, getValueOverride As GetValueOverride, setValueOverride As SetValueOverride, ParamArray attributes As Attribute())

Parameters

defaultValue
Object

The object that represents the DefaultValue of this PropertyMetadata.

options
DependencyPropertyOptions

A bitwise combination of the enumeration values that define the associated dependency property.

getValueOverride
GetValueOverride

The GetValueOverride delegate that belongs to this instance.

setValueOverride
SetValueOverride

The SetValueOverride delegate that belongs to this instance.

attributes
Attribute[]

Attributes applicable to the dependency property, such as DesignerSerializationVisibilityAttribute and ValidationOptionAttribute.

Applies to