Setter Constructors

Definition

Overloads

Setter()

Initializes a new instance of the Setter class with no initial Property or Value.

Equivalent WinUI constructor: Microsoft.UI.Xaml.Setter.Setter.

Setter(DependencyProperty, Object)

Initializes a new instance of the Setter class with initial Property and Value information.

Equivalent WinUI constructor: Microsoft.UI.Xaml.Setter.Setter.

Setter()

Initializes a new instance of the Setter class with no initial Property or Value.

Equivalent WinUI constructor: Microsoft.UI.Xaml.Setter.Setter.

public:
 Setter();
 Setter();
public Setter();
function Setter()
Public Sub New ()

See also

Applies to

Setter(DependencyProperty, Object)

Initializes a new instance of the Setter class with initial Property and Value information.

Equivalent WinUI constructor: Microsoft.UI.Xaml.Setter.Setter.

public:
 Setter(DependencyProperty ^ targetProperty, Platform::Object ^ value);
 Setter(DependencyProperty const& targetProperty, IInspectable const& value);
public Setter(DependencyProperty targetProperty, object value);
function Setter(targetProperty, value)
Public Sub New (targetProperty As DependencyProperty, value As Object)

Parameters

targetProperty
DependencyProperty

The dependency property identifier for the property that is being styled.

value
Object

The value to assign to the value when the Setter applies.

Applies to