Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / AppointmentsCoverPane Class / GetLaneSize Method
The SizingType value.
The cover element data context. It can be used to determine additional sizing conditions in overrides.
The System.Double value specifying avaliable size.
The System.Int32 value specifying the number of intersecting elements (1 for the single element without intersection).

In This Topic
    GetLaneSize Method (AppointmentsCoverPane)
    In This Topic
    Overrides base class behavior. If sizingType is SizingType.ExtendedSingle, always returns fixed size for all-day or multi-day appointments.
    Syntax
    'Declaration
     
    
    Protected Overrides Function GetLaneSize( _
       ByVal sizingType As SizingType, _
       ByVal dataContext As Object, _
       ByVal availableSpace As Double, _
       ByVal totalLanes As Integer _
    ) As Double

    Parameters

    sizingType
    The SizingType value.
    dataContext
    The cover element data context. It can be used to determine additional sizing conditions in overrides.
    availableSpace
    The System.Double value specifying avaliable size.
    totalLanes
    The System.Int32 value specifying the number of intersecting elements (1 for the single element without intersection).

    Return Value

    The System.Double value specifying actual cover element size (height or width depending on the orientation.
    See Also