AvaloniaObjectExtensionsGetValueT Method
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static T GetValue<T>(
this AvaloniaObject target,
AvaloniaProperty<T> property
)
<ExtensionAttribute>
Public Shared Function GetValue(Of T) (
target As AvaloniaObject,
property As AvaloniaProperty(Of T)
) As T
[<ExtensionAttribute>]
static member GetValue :
target : AvaloniaObject *
property : AvaloniaProperty<'T> -> 'T
- target AvaloniaObject
- The object.
- property AvaloniaPropertyT
- The property.
- T
- The type of the property.
TThe value.In Visual Basic and C#, you can call this method as an instance method on any object of type
AvaloniaObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).