Skip to main content

SetValue<T>(DirectPropertyBase<T>, T) Method

Sets a AvaloniaProperty value.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void SetValue<T>(
DirectPropertyBase<T> property,
T value
)

Parameters

  DirectPropertyBase(T)
The property.
  T
The value.

Type Parameters

The type of the property.

See Also

Reference

AvaloniaObject Class
SetValue Overload
Avalonia Namespace