Class ColumnResizingController
Provides the base implementation for column resizing operations in SfCellGrid.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.CellGrid
Assembly: Syncfusion.SfCellGrid.UWP.dll
Syntax
public class ColumnResizingController : Object, IDisposable
Constructors
ColumnResizingController(SfCellGrid)
Initializes a new instance of the ColumnResizingController class.
Declaration
public ColumnResizingController(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 column line.
Declaration
public double HitTestPrecision { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Visible line. |
ResizeRowIndex
Gets or sets the value which indicates, the column resizing will be perform in which RowIndex when set multiple header rows.
Declaration
public int ResizeRowIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Row Index. |
TouchHitTestPrecision
Gets or sets the value, which is used to get the visible line when touch the column 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 ColumnResizingController class.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the ColumnResizingController 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 |
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 |
---|---|---|
Windows.Foundation.Point | point | Position of the pointer. |
Returns
Type | Description |
---|---|
System.Boolean | True or False. |
HitTest(Point, out CoreCursorType)
Declaration
protected virtual VisibleLineInfo HitTest(Point point, out CoreCursorType cursor)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | point | |
Windows.UI.Core.CoreCursorType | cursor |
Returns
Type |
---|
VisibleLineInfo |
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Declaration
protected virtual void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs | e |
OnPointerMoved(PointerRoutedEventArgs)
Occurs when the pointer moves in SfCellGrid.
Declaration
protected virtual void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | An System.Windows.Input.MouseEventArgs that contains the event data. |
OnPointerPressed(PointerRoutedEventArgs)
Occurs when the pointer is pressed in SfCellGrid.
Declaration
protected virtual void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | An System.Windows.Input.MouseButtonEventArgs that contains the event data. |
OnPointerReleased(PointerRoutedEventArgs)
Occurs when the pointer is released in SfCellGrid.
Declaration
protected virtual void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e | An System.Windows.Input.MouseButtonEventArgs that contains the event data. |
SetDragLine(VisibleLineInfo)
Sets the column line while resizing.
Declaration
protected void SetDragLine(VisibleLineInfo dragLine)
Parameters
Type | Name | Description |
---|---|---|
VisibleLineInfo | dragLine | Visible line. |