SetValue<T>(DirectPropertyBase<T>, T) Method
Sets a AvaloniaProperty value.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void SetValue<T>(
DirectPropertyBase<T> property,
T value
)
Public Sub SetValue(Of T) (
property As DirectPropertyBase(Of T),
value As T
)
member SetValue :
property : DirectPropertyBase<'T> *
value : 'T -> unit
Parameters
- DirectPropertyBase(T)
- The property.
- T
- The value.
Type Parameters
- The type of the property.