Skip to main content

Setter(AvaloniaProperty, Object) Constructor

Initializes a new instance of the Setter class.

Definition​

Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public Setter(
AvaloniaProperty property,
Object? value
)

Parameters​

  AvaloniaProperty
The property to set.
  Object
The property value.

See Also​

Reference​

Setter Class
Setter Overload
Avalonia.Styling Namespace