Class
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:

cs-api-definition
public class HitTestService : ServiceBase<RadDataGrid>

Inheritance: objectAttachableObject<RadDataGrid>ServiceBase<RadDataGrid>HitTestService

Inherited Members AttachableObject<RadDataGrid>.OnDetached(RadDataGrid)AttachableObject<RadDataGrid>.OnAttached()AttachableObject<RadDataGrid>.Owner

Properties

IsOperational

Gets a value indicating whether the service is operational (may provide its functionality).

Declaration

cs-api-definition
protected bool IsOperational { get; }

Property Value

bool

Methods

CellInfoFromPoint(Point, bool)

Retrieves the DataGridCellInfo instance that is presented by the grid cell containing the provided physical location.

Declaration

cs-api-definition
public DataGridCellInfo CellInfoFromPoint(Point point, bool frozen = false)

Parameters

point

Point

The physical location.

frozen

bool

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, bool)

Retrieves the object instance from the items source that is represented by the grid row containing the provided physical location.

Declaration

cs-api-definition
public object RowItemFromPoint(Point point, bool frozen = false)

Parameters

point

Point

The physical location.

frozen

bool

A value indicating whether to search in the frozen area of the RadDataGrid.

Returns

object

Remarks

The coordinates are relative to the current RadDataGrid instance.