Class ConnectionEditorBase
The base class for all connection editors. This control is used when you edit the connection in the Data Wizard.
Namespace: FastReport.Data.ConnectionEditors
Assembly: FastReport.dll
Syntax
public class ConnectionEditorBase : UserControl
Constructors
ConnectionEditorBase()
Initializes a new instance of the ConnectionEditorBase class with default settings.
Declaration
public ConnectionEditorBase()
Properties
ConnectionString
Gets or sets a connection string.
Declaration
public string ConnectionString { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | true if managed resources should be disposed; otherwise, false. |
GetConnectionString()
This method should construct the connection string from values entered by user.
Declaration
protected virtual string GetConnectionString()
Returns
| Type | Description |
|---|---|
| System.String | The connection string. |
SetConnectionString(String)
This method should parse the connection string and fill the user interface elements.
Declaration
protected virtual void SetConnectionString(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | The connection string. |
UpdateDpiDependencies()
Updates the component layout on dpi change.
Declaration
public virtual void UpdateDpiDependencies()