GetBaseValue<T> Method
Gets an AvaloniaProperty base value.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Optional<T> GetBaseValue<T>(
StyledProperty<T> property
)
Public Function GetBaseValue(Of T) (
property As StyledProperty(Of T)
) As Optional(Of T)
member GetBaseValue :
property : StyledProperty<'T> -> Optional<'T>
Parameters
- StyledProperty(T)
- The property.
Type Parameters
Return Value
Optional(T)
Remarks
Gets the value of the property excluding animated values, otherwise Empty. Note that this method does not return property values that come from inherited or default values.