[]
        
(Showing Draft Content)

C1.WPF.Grid.C1GridControl.GetSnapVerticalOffset

GetSnapVerticalOffset Method

GetSnapVerticalOffset(double, bool)

Calculates the vertical offset so the grid snaps to the rows.

Declaration
protected virtual double GetSnapVerticalOffset(double verticalOffset, bool floor)
Parameters
Type Name Description
double verticalOffset

The vertical offset.

bool floor

Whether the floor row or ceiling should be taken.

Returns
Type Description
double