Class Behaviour<T>
A
Inherited Members
Xamarin.Forms.BindableObject.add_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Xamarin.Forms.BindableObject.remove_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Behaviour<T> : Component<T>, INotifyPropertyChanged, IDynamicResourceHandler where T : UnityEngine.Behaviour
Type Parameters
Name | Description |
---|---|
T |
Fields
| Improve this Doc View SourceEnabledProperty
Backing store for the Enabled property.
Declaration
public static readonly BindableProperty EnabledProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceEnabled
A property that represents UnityEngine.Behaviour.enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
| Improve this Doc View SourceAwakeInMainThread()
A methot that actually wakes the node up in the main thread.
Declaration
protected override void AwakeInMainThread()
Overrides
Mux.Markup.Component<T>.AwakeInMainThread()
Remarks
This sets UnityEngine.Behaviour.enabled which may prevents from setting other
properties if the value is false
. Therefore, this should be called after setting those
properties in an overriding method.