Navigation.TryGetSelectedUIBlock
TryGetSelectedUIBlock(Uint, out UIBlock)
Retrieves the actively selected UIBlock for the provided controlID
, if it exists.
Remarks
If the SelectBehavior of the focused element is set to Click, it will not be considered "selected" after it's clicked. Only elements whose SelectBehavior is set to ScopeNavigation or FireEvents are "selectable".
Declaration
public static bool TryGetSelectedUIBlock(uint controlID, out UIBlock selected)
Parameters
Type | Name | Description |
---|---|---|
Uint | controlID | The unique identifier of the input control. |
UIBlock | selected | The actively selected UIBlock for the given |
Returns
Type | Description |
---|---|
bool | If a selected UIBlock is found and actively navigable, returns |