Langue

UIPropertyMetadata Constructeurs

Définition

Initialise une nouvelle instance de la classe UIPropertyMetadata.

Surcharges

Nom Description
UIPropertyMetadata()

Initialise une nouvelle instance de la classe UIPropertyMetadata.

UIPropertyMetadata(Object)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec la valeur par défaut spécifiée pour la propriété.

UIPropertyMetadata(PropertyChangedCallback)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec le rappel PropertyChanged spécifié.

UIPropertyMetadata(Object, PropertyChangedCallback)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec le rappel PropertyChanged spécifié.

UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec la valeur par défaut et les rappels spécifiés.

UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback, Boolean)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec la valeur et les rappels par défaut spécifiés, ainsi qu’une valeur booléenne utilisée pour désactiver les animations sur la propriété.

UIPropertyMetadata()

Initialise une nouvelle instance de la classe UIPropertyMetadata.

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

S’applique à

UIPropertyMetadata(Object)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec la valeur par défaut spécifiée pour la propriété.

public:
 UIPropertyMetadata(System::Object ^ defaultValue);
public UIPropertyMetadata(object defaultValue);
new System.Windows.UIPropertyMetadata : obj -> System.Windows.UIPropertyMetadata
Public Sub New (defaultValue As Object)

Paramètres

defaultValue
Object

Valeur par défaut de la propriété de dépendance, généralement fournie comme valeur d’un type spécifique.

S’applique à

UIPropertyMetadata(PropertyChangedCallback)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec le rappel PropertyChanged spécifié.

public:
 UIPropertyMetadata(System::Windows::PropertyChangedCallback ^ propertyChangedCallback);
public UIPropertyMetadata(System.Windows.PropertyChangedCallback propertyChangedCallback);
new System.Windows.UIPropertyMetadata : System.Windows.PropertyChangedCallback -> System.Windows.UIPropertyMetadata
Public Sub New (propertyChangedCallback As PropertyChangedCallback)

Paramètres

propertyChangedCallback
PropertyChangedCallback

Référence à une implémentation de gestionnaire qui doit être appelée par le système de propriétés chaque fois que la valeur effective de la propriété change.

S’applique à

UIPropertyMetadata(Object, PropertyChangedCallback)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec le rappel PropertyChanged spécifié.

public:
 UIPropertyMetadata(System::Object ^ defaultValue, System::Windows::PropertyChangedCallback ^ propertyChangedCallback);
public UIPropertyMetadata(object defaultValue, System.Windows.PropertyChangedCallback propertyChangedCallback);
new System.Windows.UIPropertyMetadata : obj * System.Windows.PropertyChangedCallback -> System.Windows.UIPropertyMetadata
Public Sub New (defaultValue As Object, propertyChangedCallback As PropertyChangedCallback)

Paramètres

defaultValue
Object

Valeur par défaut de la propriété de dépendance, généralement fournie comme valeur d’un type spécifique.

propertyChangedCallback
PropertyChangedCallback

Référence à une implémentation de gestionnaire qui doit être appelée par le système de propriétés chaque fois que la valeur effective de la propriété change.

S’applique à

UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec la valeur par défaut et les rappels spécifiés.

public:
 UIPropertyMetadata(System::Object ^ defaultValue, System::Windows::PropertyChangedCallback ^ propertyChangedCallback, System::Windows::CoerceValueCallback ^ coerceValueCallback);
public UIPropertyMetadata(object defaultValue, System.Windows.PropertyChangedCallback propertyChangedCallback, System.Windows.CoerceValueCallback coerceValueCallback);
new System.Windows.UIPropertyMetadata : obj * System.Windows.PropertyChangedCallback * System.Windows.CoerceValueCallback -> System.Windows.UIPropertyMetadata
Public Sub New (defaultValue As Object, propertyChangedCallback As PropertyChangedCallback, coerceValueCallback As CoerceValueCallback)

Paramètres

defaultValue
Object

Valeur par défaut de la propriété de dépendance, généralement fournie comme valeur d’un type spécifique.

propertyChangedCallback
PropertyChangedCallback

Référence à une implémentation de gestionnaire qui doit être appelée par le système de propriétés chaque fois que la valeur effective de la propriété change.

coerceValueCallback
CoerceValueCallback

Référence à une implémentation de gestionnaire à appeler chaque fois que le système de propriétés appelle CoerceValue(DependencyProperty) cette propriété.

S’applique à

UIPropertyMetadata(Object, PropertyChangedCallback, CoerceValueCallback, Boolean)

Initialise une nouvelle instance de la UIPropertyMetadata classe, avec la valeur et les rappels par défaut spécifiés, ainsi qu’une valeur booléenne utilisée pour désactiver les animations sur la propriété.

public:
 UIPropertyMetadata(System::Object ^ defaultValue, System::Windows::PropertyChangedCallback ^ propertyChangedCallback, System::Windows::CoerceValueCallback ^ coerceValueCallback, bool isAnimationProhibited);
public UIPropertyMetadata(object defaultValue, System.Windows.PropertyChangedCallback propertyChangedCallback, System.Windows.CoerceValueCallback coerceValueCallback, bool isAnimationProhibited);
new System.Windows.UIPropertyMetadata : obj * System.Windows.PropertyChangedCallback * System.Windows.CoerceValueCallback * bool -> System.Windows.UIPropertyMetadata
Public Sub New (defaultValue As Object, propertyChangedCallback As PropertyChangedCallback, coerceValueCallback As CoerceValueCallback, isAnimationProhibited As Boolean)

Paramètres

defaultValue
Object

Valeur par défaut de la propriété de dépendance, généralement fournie comme valeur d’un type spécifique.

propertyChangedCallback
PropertyChangedCallback

Référence à une implémentation de gestionnaire qui doit être appelée par le système de propriétés chaque fois que la valeur effective de la propriété change.

coerceValueCallback
CoerceValueCallback

Référence à une implémentation de gestionnaire à appeler chaque fois que le système de propriétés appelle CoerceValue(DependencyProperty) cette propriété.

isAnimationProhibited
Boolean

Défini pour true empêcher le système de propriétés d’animer la propriété à laquelle ces métadonnées sont appliquées. Ces propriétés déclenchent des exceptions d’exécution si des animations d’entre elles sont tentées. La valeur par défaut est false.

S’applique à