SqlEditor UniqueNameHint Property CleanCode C# Libraries v1.2.03 API
Gets or sets a unique name hint for this instance.

Namespace: CleanCode.SqlEditorControls
Assembly: CleanCode.SqlEditorControls (in CleanCode.SqlEditorControls.dll) Version: (1.2.03)

public string UniqueNameHint { get; set; }

Field Value

The unique name hint.

When you build an application with multiple instances of SqlEditor, the user is free to choose DB connections in each pane independently. When a dialog box is opened (e.g. "Open File") it identifies itself by the connection to ensure the user knows which instance it belongs to. If the connections happen to be the same, this would be ambiguous. This hint property should be used to disambiguate by assigning e.g. "Left" to the left pane and "Right" to the right pane.
See Also