DependencyObject.SetValueBase(DependencyProperty, Object) Méthode
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.
Définit la valeur du DependencyProperty paramètre sur le paramètre spécifié Object, en contournant le SetValue(DependencyProperty, Object).
public:
void SetValueBase(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty, System::Object ^ value);
public void SetValueBase(System.Workflow.ComponentModel.DependencyProperty dependencyProperty, object value);
member this.SetValueBase : System.Workflow.ComponentModel.DependencyProperty * obj -> unit
Public Sub SetValueBase (dependencyProperty As DependencyProperty, value As Object)
Paramètres
- dependencyProperty
- DependencyProperty
À DependencyProperty définir sur le Object.
- value
- Object
Qui Object devient la valeur du DependencyProperty.
Exceptions
dependencyProperty est une référence Null (Nothing dans Visual Basic).
Remarques
Cette méthode est utile à l’intérieur de l’implémentation SetValue de remplacement. En règle générale, le SetValue code de remplacement effectue une logique personnalisée avant d’appeler la SetValueBase méthode.
Pour définir un SetValue remplacement, PropertyMetadata vous pouvez l’utiliser dans DependencyProperty, Registerou RegisterAttached les appels.