IAvaloniaObject.

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

Summary

Sets a AvaloniaProperty value.
Namespace
Avalonia
Containing Type
IAvaloniaObject

Syntax

IDisposable SetValue<T>(StyledPropertyBase<T> property, T value, BindingPriority priority = LocalValue)

Type Parameters

Name Description
T The type of the property.

Parameters

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

Return Value

Type Description
IDisposable