Class GraphicSelectionController
Represents a class which is used to control/handle the selection of the GraphicCells
Inheritance
System.Object
GraphicSelectionController
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
Assembly: Syncfusion.SfSpreadsheet.WPF.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(MouseButtonEventArgs, GraphicCell)
Invoked when the pointer is pressed on GraphicCell and performs the operations.
Declaration
protected virtual void OnPointerPressed(MouseButtonEventArgs args, GraphicCell cell)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | 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 |
Implements
System.IDisposable