VisualContainerExt Class
Extension visual container for SpreadsheetGrid. Handles the arrange and measure of all child panel elements.
Inheritance
Namespace: Syncfusion.UI.Xaml.Spreadsheet
Assembly: Syncfusion.SfSpreadsheet.UWP.dll
Syntax
public class VisualContainerExt : VisualContainer
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 |
---|---|---|
Windows.Foundation.Rect | rect | The actual size for the child panel. |
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 Syncfusion.UI.Xaml.CellGrid.SelectionPanel.
Declaration
protected override SelectionPanel CreateSelectionPanel()
Returns
Type | Description |
---|---|
Syncfusion.UI.Xaml.CellGrid.SelectionPanel | An instance of SelectionPanelExt. |
Dispose(Boolean)
Releases all resources used by the. VisualContainerExt.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
InitializeChildPanels()
Initialize and add child panels.
Declaration
protected override void InitializeChildPanels()
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()
MeasureChildPanels(Size)
Determines the size for the child panels.
Declaration
protected override void MeasureChildPanels(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | The desired size for the child panel. |
MouseWheelDown()
Occurs when the mouse wheels down and used to decrease the zoom factor.
Declaration
public override void MouseWheelDown()
MouseWheelUp()
Occurs when mouse wheels up and used to increase the zoom factor.
Declaration
public override void MouseWheelUp()
OnContainerOnManipulationDelta(Object, ManipulationDeltaRoutedEventArgs)
Occurs when position changes during manipulation and used to perform the scale transform for zooming.
Declaration
protected override void OnContainerOnManipulationDelta(object sender, ManipulationDeltaRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
Windows.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs | e |
OnContainerPointerWheelChanged(Object, PointerRoutedEventArgs)
Occurs when pointer wheel is changed. Used to zoom in or out when control key is pressed.
Declaration
protected override void OnContainerPointerWheelChanged(object sender, PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | |
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |
UnWireEvents()
Unwire the events.
Declaration
protected override void UnWireEvents()
WireEvents()
Wire the events.
Declaration
protected override void WireEvents()