AvaloniaObjectExtensionsGetBaseValue(AvaloniaObject, AvaloniaProperty) Method
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static Object? GetBaseValue(
this AvaloniaObject target,
AvaloniaProperty property
)
<ExtensionAttribute>
Public Shared Function GetBaseValue (
target As AvaloniaObject,
property As AvaloniaProperty
) As Object
[<ExtensionAttribute>]
static member GetBaseValue :
target : AvaloniaObject *
property : AvaloniaProperty -> Object
- target AvaloniaObject
- The object.
- property AvaloniaProperty
- The property.
ObjectIn 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).
For styled properties, gets the value of the property excluding animated values, otherwise
UnsetValue. Note that this method does not return
property values that come from inherited or default values.
For direct properties returns the current value of the property.