Class GraphicSelectionController
Represents a class which is used to control/handle the selection of the GraphicCells
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
Assembly: Syncfusion.SfSpreadsheet.UWP.dll
Syntax
public class GraphicSelectionController : Object, IDisposable
Constructors
GraphicSelectionController(GraphicModel)
Initializes a new instance of the GraphicSelectionController class.
Declaration
public GraphicSelectionController(GraphicModel model)
Parameters
Type | Name | Description |
---|---|---|
GraphicModel | model | An instance of GraphicModel |
Properties
SelectedShapes
Gets or sets the collection of ShapeImpl which are selected.
Declaration
public List<ShapeImpl> SelectedShapes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ShapeImpl> | List of ShapeImpl collection |
Methods
Dispose()
Dispose all the resources used by the GraphicSelectionController class
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnPointerPressed(PointerRoutedEventArgs, GraphicCell)
Invoked when the pointer is pressed on GraphicCell and performs the operations.
Declaration
protected virtual void OnPointerPressed(PointerRoutedEventArgs args, GraphicCell cell)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | args | An System.Windows.Input.MouseButtonEventArgs that contains the event data. |
GraphicCell | cell | An instance of GraphicCell |
OnPointerReleased(PointerRoutedEventArgs, GraphicCell)
Invoked when the pointer is released on GraphicCell and performs the operations.
Declaration
protected virtual void OnPointerReleased(PointerRoutedEventArgs args, GraphicCell cell)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | args | An System.Windows.Input.MouseButtonEventArgs that contains the event data. |
GraphicCell | cell | An instance of GraphicCell |
ProcessTabKeyNavigation(GraphicCell)
The selection operations performed in SfSpreadsheet while pressing the Tab key on the Graphic Cell
Declaration
protected virtual void ProcessTabKeyNavigation(GraphicCell cell)
Parameters
Type | Name | Description |
---|---|---|
GraphicCell | cell | An instance of GraphicCell |