menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GraphicSelectionController - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GraphicSelectionController

    Represents a class which is used to control/handle the selection of the GraphicCells

    Inheritance
    System.Object
    GraphicSelectionController
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
    Assembly: Syncfusion.SfSpreadsheet.WPF.dll
    Syntax
    public class GraphicSelectionController : 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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved