[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_ACCESSIBILITY_ATTRIBUTES_get")]
public static extern int AccessibilityAttributesGet();
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_View_Property_DISPATCH_KEY_EVENTS_get")]
+ public static extern int DispatchKeyEventsGet();
}
}
}
return transitionOptions;
}
}
+
+ /// <summary>
+ /// Gets or sets the status of whether the view should emit key event signals.
+ /// If a View's DispatchKeyEvents is set to false, then it's children will not emit a key event signal either.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool DispatchKeyEvents
+ {
+ get
+ {
+ return (bool)GetValue(DispatchKeyEventsProperty);
+ }
+ set
+ {
+ SetValue(DispatchKeyEventsProperty, value);
+ NotifyPropertyChanged();
+ }
+ }
+
+
+
+
}
}
}));
/// <summary>
+ /// DispatchKeyEventsProperty
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public static readonly BindableProperty DispatchKeyEventsProperty = BindableProperty.Create(nameof(DispatchKeyEvents), typeof(bool), typeof(View), false, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) =>
+ {
+ var view = (View)bindable;
+ if (newValue != null)
+ {
+ Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.DispatchKeyEvents, new Tizen.NUI.PropertyValue((bool)newValue));
+ }
+ }),
+ defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) =>
+ {
+ var view = (View)bindable;
+ bool temp = false;
+ Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)view.SwigCPtr, View.Property.DispatchKeyEvents).Get(out temp);
+ return temp;
+ }));
+
+ /// <summary>
/// LeaveRequiredProperty
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
internal static readonly int AccessibilityRole = Interop.ViewProperty.AccessibilityRoleGet();
internal static readonly int AccessibilityHighlightable = Interop.ViewProperty.AccessibilityHighlightableGet();
internal static readonly int AccessibilityAttributes = Interop.ViewProperty.AccessibilityAttributesGet();
+ internal static readonly int DispatchKeyEvents = Interop.ViewProperty.DispatchKeyEventsGet();
}
}
}