SpreadsheetRibbon Class
Inheritance
System.Object
SpreadsheetRibbon
Implements
Syncfusion.Windows.Forms.Tools.ISpreadsheetRibbonControlAdvNotifier
Syncfusion.Windows.Forms.ISpreadsheetBackStageNotifier
Syncfusion.Windows.Forms.IVisualStyle
Namespace: Syncfusion.Windows.Forms.Spreadsheet
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class SpreadsheetRibbon : RibbonControlAdv, ISpreadsheetRibbonControlAdvNotifier, ISpreadsheetBackStageNotifier, IVisualStyle
Constructors
SpreadsheetRibbon()
Declaration
public SpreadsheetRibbon()
Properties
IsSpreadsheetRibbon
Gets whether the conttrol is spreadsheet ribbon
Declaration
public bool IsSpreadsheetRibbon { get; }
Property Value
Type |
---|
System.Boolean |
Ribbon
SpreadsheetRibbon
Declaration
public RibbonControlAdv Ribbon { get; }
Property Value
Type |
---|
Syncfusion.Windows.Forms.Tools.RibbonControlAdv |
RibbonSize
Ribbon default size
Declaration
public Size RibbonSize { get; }
Property Value
Type |
---|
System.Drawing.Size |
Spreadsheet
Gets or sets the SfSpreadsheet Control
Declaration
public Spreadsheet Spreadsheet { get; set; }
Property Value
Type |
---|
Spreadsheet |
ThemeName
Gets or sets the Office 2016 theme name for SpreadsheetRibbon.
Declaration
public string ThemeName { get; set; }
Property Value
Type |
---|
System.String |
Methods
Dispose(Boolean)
Dispose objects
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnActiveSheetChanged()
Declaration
protected virtual void OnActiveSheetChanged()
OnWorkbookChanged()
Declaration
protected virtual void OnWorkbookChanged()
RefreshRibbon()
Declaration
protected virtual void RefreshRibbon()
Implements
Syncfusion.Windows.Forms.Tools.ISpreadsheetRibbonControlAdvNotifier
Syncfusion.Windows.Forms.ISpreadsheetBackStageNotifier
Syncfusion.Windows.Forms.IVisualStyle