Class FreezePanesCommand
To Set Frozen Rows and Frozen Columns
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Spreadsheet.Commands
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class FreezePanesCommand : WindowCommand, ICommand
Constructors
FreezePanesCommand(Spreadsheet, String)
Constructor for FreezePanesCommand
Declaration
public FreezePanesCommand(Spreadsheet spreadsheetControl, string commandName)
Parameters
Type | Name | Description |
---|---|---|
Spreadsheet | spreadsheetControl | |
System.String | commandName |
Methods
OnCanExecute(Object)
Declaration
public override bool OnCanExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |
Returns
Type |
---|
System.Boolean |
Overrides
OnExecute(Object)
Used to excute the FreezePanesCommand.
Declaration
protected override void OnExecute(object parameter)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parameter |