Class HitTestService
Represents a ServiceBase<T> instance that exposes methods used to hit-test for grid rows and cells from given a physical location.
Inherited Members
Namespace: Telerik.Maui.Controls.DataGrid
Assembly: Telerik.Maui.Controls.dll
Syntax
public class HitTestService : ServiceBase<RadDataGrid>
Properties
IsOperational
Gets a value indicating whether the service is operational (may provide its functionality).
Declaration
protected bool IsOperational { get; }
Property Value
System.Boolean
|
Methods
CellInfoFromPoint(Point, Boolean)
Retrieves the DataGridCellInfo instance that is presented by the grid cell containing the provided physical location.
Declaration
public DataGridCellInfo CellInfoFromPoint(Point point, bool frozen = false)
Parameters
Microsoft.Maui.Graphics.Point
point
The physical location. |
System.Boolean
frozen
A value indicating whether to search in the frozen area of the RadDataGrid. |
Returns
DataGridCellInfo
|
Remarks
The coordinates are relative to the current RadDataGrid instance.
RowItemFromPoint(Point, Boolean)
Retrieves the object instance from the items source that is represented by the grid row containing the provided physical location.
Declaration
public object RowItemFromPoint(Point point, bool frozen = false)
Parameters
Microsoft.Maui.Graphics.Point
point
The physical location. |
System.Boolean
frozen
A value indicating whether to search in the frozen area of the RadDataGrid. |
Returns
System.Object
|
Remarks
The coordinates are relative to the current RadDataGrid instance.