Class VisualContainerExt
Extension visual container for SpreadsheetGrid. Handles the arrange and measure of all child panel elements.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Spreadsheet
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class VisualContainerExt : VisualContainer
Constructors
VisualContainerExt(SfCellGrid)
Declaration
public VisualContainerExt(SfCellGrid grid)
Parameters
Type | Name | Description |
---|---|---|
SfCellGrid | grid |
Properties
Grid
Gets the value indicating the instance of the SpreadsheetGrid .
Declaration
public SpreadsheetGrid Grid { get; }
Property Value
Type | Description |
---|---|
SpreadsheetGrid | An instance of SpreadsheetGrid. |
Methods
ArrangeChildPanels(Rectangle)
Arranges the content of child panels.
Declaration
protected override void ArrangeChildPanels(Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | rect | The actual size for the child panel. |
Overrides
CreateFormulaRangePanel()
Creates the Syncfusion.Windows.Forms.Spreadsheet.VisualContainerExt.FormulaRangeSelectionPanel.
Declaration
protected virtual FormulaRangeSelectionPanel CreateFormulaRangePanel()
Returns
Type | Description |
---|---|
FormulaRangeSelectionPanel | An instance of Syncfusion.Windows.Forms.Spreadsheet.VisualContainerExt.FormulaRangeSelectionPanel. |
CreateSelectionPanel()
Creates the SelectionPanel.
Declaration
protected override SelectionPanel CreateSelectionPanel()
Returns
Type | Description |
---|---|
SelectionPanel | An instance of SelectionPanelExt. |
Overrides
Dispose(Boolean)
Releases all resources used by the. VisualContainerExt.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
InitializeChildPanels()
Initialize and add child panels.
Declaration
protected override void InitializeChildPanels()
Overrides
InvalidateMeasureInfo()
Invalidates or refreshes the measurement state for Syncfusion.Windows.Forms.Spreadsheet.VisualContainerExt.FormulaRangeSelectionPanel and Syncfusion.Windows.Forms.Spreadsheet.VisualContainerExt.GraphicsPanel .
Declaration
public override void InvalidateMeasureInfo()
Overrides
MeasureChildPanels(Size)
Determines the size for the child panels.
Declaration
protected override void MeasureChildPanels(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Size | availableSize | The desired size for the child panel. |
Overrides
MouseWheelDown()
Occurs when the mouse wheels down and used to decrease the zoom factor.
Declaration
public override void MouseWheelDown()
Overrides
MouseWheelUp()
Occurs when mouse wheels up and used to increase the zoom factor.
Declaration
public override void MouseWheelUp()
Overrides
OnMouseDoubleClick(MouseEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
Overrides
OnMouseDown(MouseEventArgs)
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
Overrides
OnMouseMove(MouseEventArgs)
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
Overrides
OnMouseUp(MouseEventArgs)
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
Overrides
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e |
Overrides
UnWireEvents()
Unwire the events.
Declaration
protected override void UnWireEvents()
Overrides
WireEvents()
Wire the events.
Declaration
protected override void WireEvents()