Class VisualContainerExt
Extension visual container for SpreadsheetGrid. Handles the arrange and measure of all child panel elements.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class VisualContainerExt : VisualContainer, IScrollableInfo, IScrollInfo, IDisposable
Constructors
VisualContainerExt()
Initializes a new instance of the VisualContainerExt class.
Declaration
public VisualContainerExt()
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(Rect)
Arranges the content of child panels.
Declaration
protected override void ArrangeChildPanels(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | rect | The actual size for the child panel. |
Overrides
CreateFormulaRangePanel()
Creates the Syncfusion.UI.Xaml.Spreadsheet.VisualContainerExt.FormulaRangeSelectionPanel.
Declaration
protected virtual FormulaRangeSelectionPanel CreateFormulaRangePanel()
Returns
Type | Description |
---|---|
FormulaRangeSelectionPanel | An instance of Syncfusion.UI.Xaml.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.UI.Xaml.Spreadsheet.VisualContainerExt.FormulaRangeSelectionPanel and Syncfusion.UI.Xaml.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.Windows.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
UnWireEvents()
Unwire the events.
Declaration
protected override void UnWireEvents()
Overrides
WireEvents()
Wire the events.
Declaration
protected override void WireEvents()