[]
Returns the size which should be used to draw cover element according to specified sizing type, available space and total lane count.
protected virtual double GetLaneSize(SizingType sizingType, object dataContext, double availableSpace, int totalLanes)
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). |
Type | Description |
---|---|
double | The double value specifying actual cover element size (height or width depending on the orientation. |