Attached<T>.SetValue Method |
Sets the value of this attached property for a given object without changing its value source (see SetCurrentValue(DependencyProperty, Object)).
Namespace: PostSharp.Patterns.Xaml
Assembly: PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public void SetValue( DependencyObject obj, T value )
Parameters
- obj
- Type: System.Windows.DependencyObject
An object for which to set the property value. - value
- Type: T
Value to be set.