Setter Class

Summary

A setter for a Style.
Namespace
Avalonia.Styling
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["ISetter"] click Interface0 "/api/Avalonia.Styling/ISetter" Type-.->Interface1["IAnimationSetter"] click Interface1 "/api/Avalonia.Animation/IAnimationSetter" Type-.->Interface2["IAvaloniaPropertyVisitor<Setter.SetterVisitorData>"] Type["Setter"] class Type type-node

Syntax

public class Setter : ISetter, IAnimationSetter, IAvaloniaPropertyVisitor<Setter.SetterVisitorData>

Remarks

A Setter is used to set a AvaloniaProperty value on a AvaloniaObject depending on a condition.

Constructors

Name Summary
Setter() Initializes a new instance of the Setter class.
Setter(AvaloniaProperty, object) Initializes a new instance of the Setter class.

Properties

Name Value Summary
Property AvaloniaProperty?
Gets or sets the property to set.
Value object?
Gets or sets the property value.

Methods