Setter Class
Definition
A setter for a Avalonia.Styling.Style.
public class Setter
Remarks
A Avalonia.Styling.Setter is used to set a Avalonia.AvaloniaProperty value on a Avalonia.AvaloniaObject depending on a condition.
Constructors
| Name | Description |
|---|---|
| Setter (2 overloads) | Initializes a new instance of the Avalonia.Styling.Setter class. |
Setter overloads
Setter Constructor
Initializes a new instance of the Avalonia.Styling.Setter class.
public Setter()
Setter Constructor
Initializes a new instance of the Avalonia.Styling.Setter class.
public Setter(Avalonia.AvaloniaProperty property, object value)
Parameters
property Avalonia.AvaloniaProperty
The property to set.
value object
The property value.
Methods
| Name | Description |
|---|---|
| ToString | No summary available. |
ToString Method
public string ToString()
Returns
string
Properties
Property Property
Gets or sets the property to set.
public Avalonia.AvaloniaProperty Property { get; set; }
Value Property
Gets or sets the property value.
public object Value { get; set; }