AvaloniaObject.

SetValue<T>(AvaloniaProperty<T>, T, BindingPriority) Method

Summary

Sets a AvaloniaProperty value.
Namespace
Avalonia
Containing Type
AvaloniaObject

Syntax

public void SetValue<T>(AvaloniaProperty<T> property, T value, BindingPriority priority = LocalValue)

Type Parameters

Name Description
T The type of the property.

Parameters

Name Type Description
property AvaloniaProperty<T> The property.
value T The value.
priority BindingPriority The priority of the value.

Return Value

Type Description
void