FlexGrid for WPF | ComponentOne
C1.WPF.Grid Assembly / C1.WPF.Grid Namespace / FlexGrid Class / GetSnapHorizontalOffset Method
The horizontal offset.
Whether the floor column or ceiling should be taken.

In This Topic
    GetSnapHorizontalOffset Method (FlexGrid)
    In This Topic
    Calculates the horizontal offset so the grid snaps to the columns.
    Syntax
    'Declaration
     
    Protected Overridable Function GetSnapHorizontalOffset( _
       ByVal horizontalOffset As Double, _
       ByVal floor As Boolean _
    ) As Double
    protected virtual double GetSnapHorizontalOffset( 
       double horizontalOffset,
       bool floor
    )

    Parameters

    horizontalOffset
    The horizontal offset.
    floor
    Whether the floor column or ceiling should be taken.
    See Also