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