Setter Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe Setter.
Surcharges
| Nom | Description |
|---|---|
| Setter() |
Initialise une nouvelle instance de la classe Setter. |
| Setter(DependencyProperty, Object) |
Initialise une nouvelle instance de la Setter classe avec la propriété et la valeur spécifiées. |
| Setter(DependencyProperty, Object, String) |
Initialise une nouvelle instance de la Setter classe avec la propriété, la valeur et le nom cible spécifiés. |
Setter()
Initialise une nouvelle instance de la classe Setter.
public:
Setter();
public Setter();
Public Sub New ()
S’applique à
Setter(DependencyProperty, Object)
Initialise une nouvelle instance de la Setter classe avec la propriété et la valeur spécifiées.
public:
Setter(System::Windows::DependencyProperty ^ property, System::Object ^ value);
public Setter(System.Windows.DependencyProperty property, object value);
new System.Windows.Setter : System.Windows.DependencyProperty * obj -> System.Windows.Setter
Public Sub New (property As DependencyProperty, value As Object)
Paramètres
- property
- DependencyProperty
À DependencyProperty appliquer Value .
- value
- Object
Valeur à appliquer à la propriété.
S’applique à
Setter(DependencyProperty, Object, String)
Initialise une nouvelle instance de la Setter classe avec la propriété, la valeur et le nom cible spécifiés.
public:
Setter(System::Windows::DependencyProperty ^ property, System::Object ^ value, System::String ^ targetName);
public Setter(System.Windows.DependencyProperty property, object value, string targetName);
new System.Windows.Setter : System.Windows.DependencyProperty * obj * string -> System.Windows.Setter
Public Sub New (property As DependencyProperty, value As Object, targetName As String)
Paramètres
- property
- DependencyProperty
À DependencyProperty appliquer Value .
- value
- Object
Valeur à appliquer à la propriété.