FREE TRIAL

|

☀
☾

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 controlID.

Returns
Type Description
bool

If a selected UIBlock is found and actively navigable, returns true. If the UIBlock was not found or is no longer navigable, returns false.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC