AvaloniaObjectSetValueT(DirectPropertyBaseT, T) Method

Sets a AvaloniaProperty value.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public void SetValue<T>(
	DirectPropertyBase<T> property,
	T value
)

Parameters

property  DirectPropertyBaseT
The property.
value  T
The value.

Type Parameters

T
The type of the property.

See Also