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

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

    Parameters

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