ClassHitTestService
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.UI.Xaml.Controls.Grid
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class HitTestService : ServiceBase<RadDataGrid>
Inheritance: objectRadDependencyObjectAttachableObject<RadDataGrid>ServiceBase<RadDataGrid>HitTestService
Inherited Members
Properties
IsOperational
Determines whether the service is operational (may provide its functionality).
Declaration
protected override bool IsOperational { get; }
Property Value
Overrides
Methods
CellInfoFromPoint(Point)
Retrieves the DataGridCellInfo instance that is presented by the grid cell containing the provided physical location.
Declaration
public DataGridCellInfo CellInfoFromPoint(Point point)
Parameters
point
Point
The physical location.
Returns
Remarks
The coordinates are relative to the current RadDataGrid instance.
RowItemFromPoint(Point)
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)
Parameters
point
Point
The physical location.
Returns
Remarks
The coordinates are relative to the current RadDataGrid instance.