C# Class hMailServer.Shared.TabOrderManager

Dynamically determine and set a tab order for a container and children according to a given strategy.
Exibir arquivo Open project: nberardi/hMailServer

Public Methods

Method Description
SetSchemeForControl ( Control c, TabScheme scheme ) : void

Explicitly set a tab order scheme for a given (presumably container) control.

SetTabOrder ( TabScheme scheme ) : int

Recursively set the tab order on this container and all of its children.

TabOrderManager ( Control container ) : System

Constructor

Private Methods

Method Description
TabOrderManager ( Control container, int curTabIndex, Hashtable schemeOverrides ) : System

Construct a tab order manager that starts numbering at the given tab index.

Method Details

SetSchemeForControl() public method

Explicitly set a tab order scheme for a given (presumably container) control.
public SetSchemeForControl ( Control c, TabScheme scheme ) : void
c System.Windows.Forms.Control The control to set the scheme for.
scheme TabScheme The requested scheme.
return void

SetTabOrder() public method

Recursively set the tab order on this container and all of its children.
public SetTabOrder ( TabScheme scheme ) : int
scheme TabScheme The tab ordering strategy to apply.
return int

TabOrderManager() public method

Constructor
public TabOrderManager ( Control container ) : System
container System.Windows.Forms.Control The container whose tab order we manage.
return System