Class ConfigurationDialog
Represents a class that contains dialog for customizing EditControl configuration.
Namespace: Syncfusion.Windows.Forms.Edit.Dialogs
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class ConfigurationDialog : Form
Constructors
ConfigurationDialog(Config, IConfigLanguage)
Initializes a new instance of the ConfigurationDialog class.
Declaration
public ConfigurationDialog(Config configurator, IConfigLanguage activeLang)
Parameters
Type | Name | Description |
---|---|---|
Config | configurator | Config class instance. |
IConfigLanguage | activeLang | Active configuration language. |
Fields
ARROW_WIDTH
Width of the arrow.
Declaration
public const int ARROW_WIDTH = 12
Field Value
Type |
---|
System.Int32 |
Properties
Configurator
Gets the configurator instance with all edited languages.
Declaration
public Config Configurator { get; }
Property Value
Type |
---|
Config |
Methods
CreateAccessibilityInstance()
New Instance for configuration dialog accessible object
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | ConfigurationDialogAccessibleObject |
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
DrawComboItem(ComboListBox, Brush, DrawItemEventArgs)
Draws combo item for combobox with color rectangles.
Declaration
protected void DrawComboItem(ComboListBox combo, Brush currentBrush, DrawItemEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
ComboListBox | combo | ComboBox to draw. |
System.Drawing.Brush | currentBrush | Current brush to use. |
System.Windows.Forms.DrawItemEventArgs | e | DrawItemEventArgs. |
EnableDoubleBuffering()
Enables double buffering for the form thats helps to renderer all paint operations to a memory buffer instead of the drawing surface on the screen.
Declaration
public void EnableDoubleBuffering()
GetColorName(Color)
Gets color name. Empty colors are returned correctly.
Declaration
protected string GetColorName(Color color)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | color | Color. |
Returns
Type | Description |
---|---|
System.String | Color name. |