PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Xaml Namespace/Attached(T) Class/Attached(T) Methods/Attached(T).​Set­Current­Value Method

Attached<T>.SetCurrentValue Method

Note: This API is now obsolete.

Synonym of SetValue(DependencyObject, T). Use that method instead.

Namespace:  PostSharp.Patterns.Xaml
Assembly:  PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.5.13.0 (6.5.13.0)
Syntax
C#
[ObsoleteAttribute("Use SetValue() instead.")]
public void SetCurrentValue(
	DependencyObject obj,
	T value
)

Parameters

obj
Type: System.Windows.DependencyObject
value
Type: T
See Also