Skip to main content

SetValue Method

Sets the property value.

Definition

Namespace: Avalonia.Data.Core.Plugins
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public override bool SetValue(
Object? value,
BindingPriority priority
)

Parameters

  Object
The value to set. Guaranteed to be of a valid type for the property.
  BindingPriority
The priority with which to set the value.

Return Value

Boolean
True if the property was set; false if the property could not be set.

Implements

IPropertyAccessor.SetValue(Object, BindingPriority)

See Also

Reference

DataValidationBase Class
Avalonia.Data.Core.Plugins Namespace