PostSharpAPI ReferencePost­Sharp.​Patterns.​XamlDependency­Property­AttributeOn­Property­Get
Open sandboxFocus

DependencyPropertyAttribute.OnPropertyGet Method

OnPropertyGet<T>(Object, out T)

Declaration
[OnLocationGetValueAdvice(Description = "Gets and sets the value through DependencyObject.GetValue", LinesOfCodeAvoided = 1)]
[SelfPointcut]
[LocationInterceptionAdviceOptimization]
[Internal(AttributeId = 6350852601680003108L)]
[DebuggerAspectMethod]
public void OnPropertyGet<T>([This] object instance, [LocationValue] out T value)
Parameters
Type Name Description
Object instance
T value
Type Parameters
Name Description
T