menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CodeSnippetsEditBox - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CodeSnippetsEditBox

    Represent a class that contain Edit TextBox that provides the same functionalities as like VS 2005 code snippets.

    Inheritance
    System.Object
    CodeSnippetsEditBox
    Namespace: Syncfusion.Windows.Forms.Edit.Utils.CodeSnippets
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class CodeSnippetsEditBox : ContainerControl

    Constructors

    CodeSnippetsEditBox(String, Control)

    Initializes a new instance of the CodeSnippetsEditBox class.

    Declaration
    public CodeSnippetsEditBox(string caption, Control parent)
    Parameters
    Type Name Description
    System.String caption

    Caption of CodeSnippetsEditBox.

    System.Windows.Forms.Control parent

    Parent control.

    Properties

    Caption

    Gets or sets caption of the control.

    Declaration
    public string Caption { get; set; }
    Property Value
    Type
    System.String

    CreateParams

    Adds needed parameters to window.

    Declaration
    protected override CreateParams CreateParams { get; }
    Property Value
    Type
    System.Windows.Forms.CreateParams

    CurrentText

    Gets current text of edit textbox.

    Declaration
    public string CurrentText { get; }
    Property Value
    Type
    System.String

    Methods

    AddLabel(String)

    Helps to adds new intermediate label.

    Declaration
    public void AddLabel(string text)
    Parameters
    Type Name Description
    System.String text

    Text of new label.

    HidePopup()

    Hides current popup window.

    Declaration
    public void HidePopup()

    OnBackColorChanged(EventArgs)

    Assigns backcolor to editbox.

    Declaration
    protected override void OnBackColorChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    EventArgs.

    OnLayout(LayoutEventArgs)

    Lays out labels and edit.

    Declaration
    protected override void OnLayout(LayoutEventArgs levent)
    Parameters
    Type Name Description
    System.Windows.Forms.LayoutEventArgs levent

    LayoutEventArgs.

    OnVisibleChanged(EventArgs)

    Performs visibility changing.

    Declaration
    protected override void OnVisibleChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    EventArgs.

    WndProc(ref Message)

    Processes Windows messages.

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    System.Windows.Forms.Message m

    The Windows Message to process.

    Events

    CurrentTextChanged

    Occurs after text in edit textbox has changed.

    Declaration
    public event EventHandler CurrentTextChanged
    Event Type
    Type
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved