Xamarin.Forms Guides | Samples

Xamarin.Forms.MultiTrigger Class

Class that represents a list of property and binding conditions, and a list of setters that are applied when all of the conditions in the list are met.

See Also: MultiTrigger

Syntax

[Xamarin.Forms.ContentProperty("Setters")]
public sealed class MultiTrigger : TriggerBase

Remarks

XAML for Xamarin.Forms supports the following properties for the MultiTrigger class:

PropertyValue
Conditions

A list of PropertyCondition and/or BindingCondition markup instances that specify the conditions that all must be met before all of the setters that are listed in Setters are applied.

Setters

A list of setters that are applied when all of the property conditions are met. Each Setter tag or tag pair in the list has a Property and Value that represents the assignments to perform when the condition is met.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.MultiTrigger are listed below.

See Also: TriggerBase

Public Constructors

Initializes a new MultiTrigger instance.

Public Properties

[read-only]
ConditionsIList<Condition>. Gets the list of conditions that must be satisfied in ordeer for the setters in the MultiTrigger.Setters list to be invoked.
[read-only]
SettersIList<Setter>. Gets the list of Setter objects that will be applied when the list of conditions in the MultiTrigger.Conditions property are all met.