PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Xaml Namespace / Attached(T) Class / Attached(T) Methods / Attached(T).​Get­Value Method

Attached<T>.GetValue Method

Gets or the value of the current attached property for a given object.

Namespace:  PostSharp.Patterns.Xaml
Assembly:  PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public T GetValue(
	DependencyObject obj
)

Parameters

obj
Type: System.Windows.DependencyObject
The object for which to get the value of the property.

Return Value

Type: T
The value of the attached property for obj.
See Also