Search Results for

    Show / Hide Table of Contents

    Class ConnectionEditorBase

    The base class for all connection editors. This control is used when you edit the connection in the Data Wizard.

    Inheritance
    System.Object
    System.MarshalByRefObject
    System.ComponentModel.Component
    System.Windows.Forms.Control
    System.Windows.Forms.ScrollableControl
    System.Windows.Forms.ContainerControl
    System.Windows.Forms.UserControl
    ConnectionEditorBase
    JsonDataSourceConnectionEditor
    Namespace: FastReport.Data.ConnectionEditors
    Assembly: FastReport.dll
    Syntax
    public class ConnectionEditorBase : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl

    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.

    Overrides
    System.Windows.Forms.ContainerControl.Dispose(System.Boolean)

    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()

    Extension Methods

    UIUtils.DrawImageAndText(Control, DrawItemEventArgs, Image, String)
    UIUtils.DrawVisualStyleBorder(Control, Graphics, Rectangle)
    UIUtils.Dpi(Control)
    UIUtils.DpiMultiplier(Control)
    UIUtils.FontDpiMultiplier(Control)
    UIUtils.LogicalToDevice(Control, Int32)
    UIUtils.LogicalToDevice(Control, Single)
    UIUtils.LogicalToDevice(Control, Rectangle)
    UIUtils.LogicalToDevice(Control, Point)
    UIUtils.LogicalToDevice(Control, Size)
    UIUtils.LogicalToDevice(Control, Font, Boolean)
    UIUtils.GetImage(Control, Int32)
    UIUtils.GetImage(Control, String)
    UIUtils.GetImages(Control)
    Back to top © 1998-2025 Copyright Fast Reports Inc.