Class RowResizingController
Provides the base implementation for row resizing operations in SfCellGrid.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.CellGrid
Assembly: Syncfusion.SfCellGrid.WPF.dll
Syntax
public class RowResizingController : Object, IDisposable
Constructors
RowResizingController(SfCellGrid)
Initializes a new instance of the RowResizingController class.
Declaration
public RowResizingController(SfCellGrid cellgrid)
Parameters
Type | Name | Description |
---|---|---|
SfCellGrid | cellgrid | An instance of SfCellGrid. |
Properties
HitTestPrecision
Gets or sets the value, which is used to get the visible line when mouse over the row line.
Declaration
public double HitTestPrecision { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Visible line. |
ResizeColumnIndex
Gets or sets the value which indicates, the row resizing will be perform in which ColumnIndex while setting multiple header columns.
Declaration
public int ResizeColumnIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Column Index. |
TouchHitTestPrecision
Gets or sets the value, which is used to get the visible line when touch the rows line.
Declaration
public double TouchHitTestPrecision { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Visible line. |
Methods
Dispose()
Call the Dispose and SuppressFinalize method for dipose the instance of RowResizingController class.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the RowResizingController and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Dispose the instance, if it is True |
DoubleTapped(MouseButtonEventArgs)
Occurs when the mouse pointer is double tapped on the cell.
Declaration
protected virtual void DoubleTapped(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | An System.Windows.Input.MouseButtonEventArgs that contains the event data. |
HitTest(Point)
Returns True or False based on the visible line on the pointer pressed position.
Declaration
protected virtual bool HitTest(Point point)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | point | Position of the pointer. |
Returns
Type | Description |
---|---|
System.Boolean | True or False. |
HitTest(Point, out Cursor)
Returns the visible line where the pointer is pressed.
Declaration
protected virtual VisibleLineInfo HitTest(Point point, out Cursor cursor)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Point | point | Position of the pointer. |
System.Windows.Input.Cursor | cursor | Mouse pointer. |
Returns
Type | Description |
---|---|
VisibleLineInfo | An instance of VisibleLineInfo. |
OnPointerMoved(MouseEventArgs)
Occurs when the pointer moves in SfCellGrid.
Declaration
protected virtual void OnPointerMoved(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | An System.Windows.Input.MouseEventArgs that contains the event data. |
OnPointerPressed(MouseButtonEventArgs)
Occurs when the pointer is pressed in SfCellGrid.
Declaration
protected virtual void OnPointerPressed(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | An System.Windows.Input.MouseButtonEventArgs that contains the event data. |
OnPointerReleased(MouseButtonEventArgs)
Occurs when the pointer is released in SfCellGrid.
Declaration
protected virtual void OnPointerReleased(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | An System.Windows.Input.MouseButtonEventArgs that contains the event data. |
SetDragLine(VisibleLineInfo)
Sets the row line while resizing.
Declaration
protected void SetDragLine(VisibleLineInfo dragLine)
Parameters
Type | Name | Description |
---|---|---|
VisibleLineInfo | dragLine | Visible line. |