C# Class SIL.Utils.AccessibleNameCreator

This class exposes a static method for ensuring that a control and all its child controls have accessible names. If no better name is already provided, it supplies one using the Type of the control, and if necessary an index.
Mostra file Open project: sillsdev/FieldWorks

Public Methods

Method Description
AddNames ( Control root ) : void

Add arbitrary accessibility names to every control owned by the root.

Private Methods

Method Description
AddNames ( Control root, int>.Dictionary previousOccurrences ) : void

Add names, using a dictionary to keep track of the number of times a given name has been used before.

Method Details

AddNames() public static method

Add arbitrary accessibility names to every control owned by the root.
public static AddNames ( Control root ) : void
root System.Windows.Forms.Control
return void