[]
        
(Showing Draft Content)

C1.WPF.Schedule.AppointmentsCoverPane.GetLaneSize

GetLaneSize Method

GetLaneSize(SizingType, object, double, int)

Overrides base class behavior. If sizingType is ExtendedSingle, always returns fixed size for all-day or multi-day appointments.

Declaration
protected override double GetLaneSize(SizingType sizingType, object dataContext, double availableSpace, int totalLanes)
Parameters
Type Name Description
SizingType sizingType

The SizingType value.

object dataContext

The cover element data context. It can be used to determine additional sizing conditions in overrides.

double availableSpace

The double value specifying avaliable size.

int totalLanes

The int value specifying the number of intersecting elements (1 for the single element without intersection).

Returns
Type Description
double

The double value specifying actual cover element size (height or width depending on the orientation.

Overrides