[This is preliminary documentation and is subject to change.]

Recursively registers (including controls on panels) all Controls (see Remarks) on the FormWindow so they are exposed and can be accessed by the FormParent.

Namespace:  Forcepoint.GUISS
Assembly:  Forcepoint.GUISS (in Forcepoint.GUISS.dll) Version: 0.2.0.1 (0.2.0.1)

Syntax

C#
public static void RegisterAllControls(
	FormWindow formWindow,
	Collection<string> filter
)

Parameters

formWindow
Type: Forcepoint.GUISS..::.FormWindow
The FormWindow which's controls must be registered.
filter
Type: System.Collections.ObjectModel..::.Collection<(Of <(String>)>)
A list of strings (containing Control Names) which must be excluded from registering. Null is accepted as a parameter, which means that there won't be a filter.

Remarks

Certain controls/items like ToolStripMenuItem and ToolStripButton aren't registered. To register these see RegisterControl(String, Object).

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionWhen formWindow is null.

See Also