4 types derived from TriggerBase
Microsoft.Maui.Controls (4)
Interactivity\DataTrigger.cs (1)
12 public sealed class DataTrigger : TriggerBase, IValueProvider
Interactivity\EventTrigger.cs (1)
13 public sealed class EventTrigger : TriggerBase
Interactivity\MultiTrigger.cs (1)
9 public sealed class MultiTrigger : TriggerBase
Interactivity\Trigger.cs (1)
12 public sealed class Trigger : TriggerBase, IValueProvider
19 references to TriggerBase
Microsoft.Maui.Controls (19)
BindableObject.cs (2)
41 internal Dictionary<TriggerBase, SetterSpecificity> _triggerSpecificity = new Dictionary<TriggerBase, SetterSpecificity>();
BindablePropertyConverter.cs (4)
49 else if (parent is TriggerBase triggerBase) 56 else if (parentValuesProvider.TargetObject is PropertyCondition && parent is TriggerBase) 57 type = (parent as TriggerBase).TargetType; 151 if (parents[5] is TriggerBase trigger)
Interactivity\MultiCondition.cs (2)
13 Conditions = new TriggerBase.SealedList<Condition>(); 25 ((TriggerBase.SealedList<Condition>)Conditions).IsReadOnly = true;
Style.cs (5)
27 IList<TriggerBase> _triggers; 91 public IList<TriggerBase> Triggers => _triggers ??= new AttachedCollection<TriggerBase>(); 179 ((AttachedCollection<TriggerBase>)Triggers).AttachTo(bindable); 184 ((AttachedCollection<TriggerBase>)Triggers).DetachFrom(bindable);
VisualElement\VisualElement.cs (6)
399 internal static readonly BindablePropertyKey TriggersPropertyKey = BindableProperty.CreateReadOnly(nameof(Triggers), typeof(IList<TriggerBase>), typeof(VisualElement), default(IList<TriggerBase>), 402 var collection = new AttachedCollection<TriggerBase>(); 861 /// Gets the list of <see cref="TriggerBase"/> objects associated to this element. This is a read-only bindable property. 863 public IList<TriggerBase> Triggers => (IList<TriggerBase>)GetValue(TriggersProperty);