menu

WinForms

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

    Show / Hide Table of Contents

    Class ColumnChooserPopup

    Represents a pop-up control that hosts the ColumnChooser control which is used to add or remove columns to the SfDataGrid dynamically.

    Inheritance
    System.Object
    SfForm
    ColumnChooserPopup
    Implements
    IThemeProvider
    IVisualStyle
    Inherited Members
    SfForm.AccessibilityEnabled
    SfForm.AllowRoundedCorners
    SfForm.BackColor
    SfForm.BeginUpdate()
    SfForm.CanApplyTheme
    SfForm.CanOverrideStyle
    SfForm.CloseButtonVisible
    SfForm.CreateAccessibilityInstance()
    SfForm.EndUpdate()
    SfForm.ForeColor
    SfForm.GetActiveThemeName()
    SfForm.GetControlName()
    SfForm.IconSize
    SfForm.IsVisualStyleEnabled
    SfForm.IThemeProvider.BaseThemeName
    SfForm.IThemeProvider.ControlName
    SfForm.IVisualStyle.VisualTheme
    SfForm.OnHandleCreated(EventArgs)
    SfForm.OnLoad(EventArgs)
    SfForm.OnShown(EventArgs)
    SfForm.Padding
    SfForm.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
    SfForm.SetClientSizeCore(Int32, Int32)
    SfForm.ShowToolTip
    SfForm.Style
    SfForm.ThemeName
    SfForm.ThemeNameChanged
    SfForm.TitleBarHeightMode
    SfForm.TitleBarTextControl
    SfForm.VisualTheme
    SfForm.WndProc(Message)
    Namespace: Syncfusion.WinForms.DataGrid.Interactivity
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class ColumnChooserPopup : SfForm, IThemeProvider, IVisualStyle

    Constructors

    ColumnChooserPopup(SfDataGrid)

    Initializes a new instance of the ColumnChooserPopup class.

    Declaration
    public ColumnChooserPopup(SfDataGrid sfDataGrid)
    Parameters
    Type Name Description
    SfDataGrid sfDataGrid

    Instance of the SfDataGrid for which the column chooser is created.

    Properties

    ColumnChooser

    Gets or sets the ColumnChooser control for the ColumnChooserPopup.

    Declaration
    public ColumnChooser ColumnChooser { get; set; }
    Property Value
    Type
    ColumnChooser

    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
    SfForm.Dispose(Boolean)

    OnCancelButtonClick(Object, EventArgs)

    Occurs when the cancel button is clicked.

    Declaration
    protected virtual void OnCancelButtonClick(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The object of the sender.

    System.EventArgs e

    An System.EventArgs that contains event data.

    OnOKButtonClick(Object, EventArgs)

    Occurs when the OK button is clicked.

    Declaration
    protected virtual void OnOKButtonClick(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The object of the sender.

    System.EventArgs e

    An System.EventArgs that contains event data.

    Show()

    Display the column chooser control to the center of the Parent Form.

    Declaration
    public void Show()

    Show(Point)

    Display the column chooser control in the specified location.

    Declaration
    public void Show(Point location)
    Parameters
    Type Name Description
    System.Drawing.Point location

    Location to display the column chooser control.

    Show(IWin32Window)

    Display the column chooser control to the center of the Parent Form.

    Declaration
    public void Show(IWin32Window owner)
    Parameters
    Type Name Description
    System.Windows.Forms.IWin32Window owner

    Any object that implements System.Windows.Forms.IWin32Window and represents the top-level window that will own this form.

    Implements

    IThemeProvider
    IVisualStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved