AvaloniaObject.

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

Summary

Sets a AvaloniaProperty value.
Namespace
Avalonia
Containing Type
AvaloniaObject

Syntax

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

Type Parameters

Name Description
T The type of the property.

Parameters

Name Type Description
property DirectPropertyBase<T> The property.
value T The value.

Return Value

Type Description
void