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.UWP.dll
Syntax
public class VisualContainerExt : VisualContainer, IScrollableInfo, 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 |
---|---|---|
Windows.Foundation.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 |
---|---|---|
Windows.Foundation.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
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 |
Overrides
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 |
Overrides
UnWireEvents()
Unwire the events.
Declaration
protected override void UnWireEvents()
Overrides
WireEvents()
Wire the events.
Declaration
protected override void WireEvents()