FlexGrid for WPF | ComponentOne
C1.WPF.GridControl Assembly / C1.WPF.Grid Namespace / C1GridControl Class / GetSnapVerticalOffset Method
The vertical offset.
Whether the floor row or ceiling should be taken.

In This Topic
    GetSnapVerticalOffset Method (C1GridControl)
    In This Topic
    Calculates the vertical offset so the grid snaps to the rows.
    Syntax
    'Declaration
     
    Protected Overridable Function GetSnapVerticalOffset( _
       ByVal verticalOffset As Double, _
       ByVal floor As Boolean _
    ) As Double
    protected virtual double GetSnapVerticalOffset( 
       double verticalOffset,
       bool floor
    )

    Parameters

    verticalOffset
    The vertical offset.
    floor
    Whether the floor row or ceiling should be taken.
    See Also