Setter 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
SetterSetter
Attributes
Implements

Remarks

Setters are used with triggers and styles.

Constructors

Setter() Setter()

Creates a new Setter object.

Properties

Property Property

The property on which to apply the assignment.

Value Value

The value to assign to the property.

Explicit Interface Implementations

IValueProvider.ProvideValue(IServiceProvider) IValueProvider.ProvideValue(IServiceProvider)

For internal use by the Xamarin.Forms platform.

Applies to