-
-
Notifications
You must be signed in to change notification settings - Fork 270
Nodify_Interactivity_IKeyboardNavigationLayerGroup
Namespace: Nodify.Interactivity
Assembly: Nodify
Implements: IReadOnlyCollection<IKeyboardNavigationLayer>
Derived: NodifyEditor
References: IKeyboardNavigationLayer, KeyboardNavigationLayerId
Represents a group of keyboard navigation layers that can be activated and navigated through.
public interface IKeyboardNavigationLayerGroup : IReadOnlyCollection<IKeyboardNavigationLayer>
The current active keyboard navigation layer in the group, if any.
public virtual IKeyboardNavigationLayer ActiveNavigationLayer { get; set; }
Property Value
Activates the specified keyboard navigation layer, making it the active layer for focus management.
public virtual bool ActivateNavigationLayer(KeyboardNavigationLayerId layerId);
Parameters
layerId
KeyboardNavigationLayerId: The navigation layer id to activate.
Returns
Boolean: Returns true if the navigation layer was activated, false otherwise.
Activates the next keyboard navigation layer in the group, allowing focus to be restored to the last focused element in that layer.
public virtual bool ActivateNextNavigationLayer();
Returns
Boolean: Returns true if the navigation layer was activated, false otherwise.
Activates the previous keyboard navigation layer in the group, allowing focus to be restored to the last focused element in that layer.
public virtual bool ActivatePreviousNavigationLayer();
Returns
Boolean: Returns true if the navigation layer was activated, false otherwise.
Registers a new keyboard navigation layer to the group, allowing it to handle focus movement and restoration.
public virtual bool RegisterNavigationLayer(IKeyboardNavigationLayer layer);
Parameters
layer
IKeyboardNavigationLayer: The navigation layer.
Returns
Removes the specified keyboard navigation layer from the group.
public virtual bool RemoveNavigationLayer(KeyboardNavigationLayerId layerId);
Parameters
layerId
KeyboardNavigationLayerId: The navigation layer id.
Returns
Boolean: Returns true if the layer was removed, false otherwise.
Event that is raised when the active keyboard navigation layer changes.
public virtual event Action<KeyboardNavigationLayerId> ActiveNavigationLayerChanged;
Event Type