Class MoveResizeController
Helper Control which is used to resize the GraphicCellControl
Inheritance
System.Object
    MoveResizeController
  Implements
System.IDisposable
  Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
Assembly: Syncfusion.SfSpreadsheet.UWP.dll
Syntax
public class MoveResizeController : Object, IDisposable
  Constructors
MoveResizeController(GraphicModel)
Initializes a new instance of the MoveResizeController class.
Declaration
public MoveResizeController(GraphicModel graphicModel)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicModel | graphicModel | An instance of GraphicModel  | 
      
Methods
Dispose()
Dispose all the resources used by the MoveResizeController class
Declaration
public void Dispose()
  Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
Move(Int32, Int32, ShapeImpl)
Method to move the ShapeImpl.
Declaration
protected virtual void Move(int diffX, int diffY, ShapeImpl shape)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | diffX | X-axis difference  | 
      
| System.Int32 | diffY | Y-axis difference  | 
      
| ShapeImpl | shape | An instance of ShapeImpl  | 
      
MoveUsingKey(KeyRoutedEventArgs, GraphicCellControl)
Move the GraphicCellControl when appropriate key is pressed
Declaration
protected virtual void MoveUsingKey(KeyRoutedEventArgs e, GraphicCellControl graphicCellControl)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.UI.Xaml.Input.KeyRoutedEventArgs | e | An System.Windows.Input.KeyEventArgs that contains the event data.  | 
      
| GraphicCellControl | graphicCellControl | An instance of GraphicCellControl  | 
      
Resize(Int32, Int32, ShapeImpl)
To resize the ShapeImpl with X and Y axis.
Declaration
protected virtual void Resize(int diffX, int diffY, ShapeImpl shape)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | diffX | X-axis difference  | 
      
| System.Int32 | diffY | Y-axis difference  | 
      
| ShapeImpl | shape | An instance of ShapeImpl  | 
      
ResizeUsingKey(KeyRoutedEventArgs, GraphicCellControl)
Used to resize the GraphicCellControl when appropriate key is pressed
Declaration
protected virtual void ResizeUsingKey(KeyRoutedEventArgs e, GraphicCellControl graphicCellControl)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.UI.Xaml.Input.KeyRoutedEventArgs | e | An System.Windows.Input.KeyEventArgs that contains the event data.  | 
      
| GraphicCellControl | graphicCellControl | An instance of GraphicCellControl  | 
      
Implements
      System.IDisposable