PostSharpAPI 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)).

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

An object for which to set the property value.

T value

Value to be set.