Table of Contents

Interface IDirectionalFocusControl

Namespace
SharpConsoleUI.Controls
Assembly
SharpConsoleUI.dll

Interface for controls that support directional focus (for container controls with children)

public interface IDirectionalFocusControl

Methods

SetFocusWithDirection(bool, bool)

Sets focus with direction information for proper child control selection

void SetFocusWithDirection(bool focus, bool backward)

Parameters

focus bool

Whether to set or remove focus

backward bool

If true, focus last child; if false, focus first child