SetValue(DependencyObject, T)
Sets the local value of this attached property for a given object, like the indexer (see SetValue(DependencyProperty, Object)).
Declaration
public void SetValue(DependencyObject obj, T value)Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | obj | The object for which to set the property value. |
| T | value | The value to set. |
Remarks
Before version 2027.0.5, this method called SetCurrentValue(DependencyProperty, Object), so a style or a binding could replace the value.