Setter.

Value Property

Summary

Gets or sets the property value.
Namespace
Avalonia.Styling
Containing Type
Setter

Syntax

[Content]
[AssignBinding]
[DependsOn(nameof(Property))]
public object? Value { get; set; }

Attributes

Type Description
ContentAttribute Defines the property that contains the object's content in markup.
AssignBindingAttribute Signifies that a binding can be assigned to a property.
DependsOnAttribute Indicates that the property depends on the value of another property in markup.

Value

Type Description
object?