menu

WinForms

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

    Show / Hide Table of Contents

    Class CommandBaseForm

    CommandBaseForm is a generic class and all the command forms are derived from this class.

    Inheritance
    System.Object
    CommandBaseForm
    BetweenNotBetweenConditionForm
    ConditionalFormatForm
    DataValidationForm
    DatesOccuringConditionForm
    DefaultWidthForm
    EncryptCommandForm
    FormatAsTableForm
    FormatCellsForm
    FormatForm
    GetPasswordForm
    GroupForm
    HyperlinkForm
    InsertDeleteCellsForm
    InsertPasteForm
    NameManagerForm
    NewNameRangeForm
    OutlineSettingsForm
    ProtectSheetForm
    ProtectWorkbookForm
    UnHideForm
    UnProtectSheetForm
    UnProtectWorkbookForm
    Namespace: Syncfusion.Windows.Forms.Spreadsheet
    Assembly: Syncfusion.Spreadsheet.Windows.dll
    Syntax
    public class CommandBaseForm : Form

    Constructors

    CommandBaseForm()

    Declaration
    public CommandBaseForm()

    Properties

    SfSpreadsheet

    Gets or sets the SfSpreadsheet Control

    Declaration
    public Spreadsheet SfSpreadsheet { get; set; }
    Property Value
    Type
    Spreadsheet

    WorkSheet

    Gets or sets the SheetName to be Protected

    Declaration
    public IWorksheet WorkSheet { get; set; }
    Property Value
    Type
    IWorksheet

    Methods

    CancelAction()

    Declaration
    protected virtual void CancelAction()

    OnApplySettings()

    Declaration
    protected virtual void OnApplySettings()

    OnClosed(EventArgs)

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

    OnClosing(CancelEventArgs)

    Declaration
    protected override void OnClosing(CancelEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.CancelEventArgs e

    OnLoad(EventArgs)

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

    OnLoaded()

    Declaration
    protected virtual void OnLoaded()

    ProcessCmdKey(ref Message, Keys)

    Perform the required operation when press Escape or enter key.

    Declaration
    protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
    Parameters
    Type Name Description
    System.Windows.Forms.Message msg
    System.Windows.Forms.Keys keyData
    Returns
    Type
    System.Boolean

    UnWireEvents()

    Declaration
    protected virtual void UnWireEvents()

    WireEvents()

    Declaration
    protected virtual void WireEvents()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved