Class EventTrigger
An
Namespace: Mux.Markup
Assembly: Mux.Markup.UI.dll
Syntax
public class EventTrigger : Behaviour<UnityEngine.EventSystems.EventTrigger>
Constructors
| Improve this Doc View SourceEventTrigger()
Declaration
public EventTrigger()
Fields
| Improve this Doc View SourceTriggersProperty
Backing store for the Triggers property.
Declaration
public static readonly BindableProperty TriggersProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TriggersSourceProperty
Backing store for the TriggersSource property.
Declaration
public static readonly BindableProperty TriggersSourceProperty
Field Value
Type | Description |
---|---|
BindableProperty |
TriggerTemplateProperty
Backing store for the TriggerTemplate property.
Declaration
public static readonly BindableProperty TriggerTemplateProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceTriggers
A property that represents UnityEngine.EventSystems.EventTrigger.triggers.
Declaration
public ICollection<EventTriggerEntry> Triggers { get; }
Property Value
Type | Description |
---|---|
ICollection<EventTriggerEntry> |
Remarks
This is the content property; you can write as child elements in XAML.
TriggersSource
Gets or sets the source of entries to template and display.
Declaration
public IEnumerable TriggersSource { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable |
TriggerTemplate
Gets or sets the DataTemplate to apply to the TriggersSource.
Declaration
public DataTemplate TriggerTemplate { get; set; }
Property Value
Type | Description |
---|---|
DataTemplate |
Methods
| Improve this Doc View SourceAwakeInMainThread()
Declaration
protected override void AwakeInMainThread()
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()