PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​XamlAttached<T>Set­Value
Open sandboxFocus

Attached<T>.SetValue Method

SetValue(DependencyObject, T)

Sets the value of this attached property for a given object without changing its value source (see SetCurrentValue(DependencyProperty, Object)).

Declaration
public void SetValue([Required] DependencyObject obj, T value)
Parameters
Type Name Description
DependencyObject obj

An object for which to set the property value.

T value

Value to be set.