Share via


Setter Class

Definition

Represents an assignment of a property to a value, typically in a style or in response to a trigger.

[Xamarin.Forms.ContentProperty("Value")]
public sealed class Setter : Xamarin.Forms.Xaml.IValueProvider
type Setter = class
    interface IValueProvider
Inheritance
System.Object
Setter
Attributes
Implements

Remarks

Setters are used with triggers and styles.

Constructors

Setter()

Creates a new Setter object.

Properties

Property

The property on which to apply the assignment.

TargetName
Value

The value to assign to the property.

Explicit Interface Implementations

IValueProvider.ProvideValue(IServiceProvider)

For internal use by the Xamarin.Forms platform.

Applies to