Scheduler for WinRT
GetLaneSize Method (CoverElementsPane)


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).
Returns the size which should be used to draw cover element according to specified sizing type, available space and total lane count.
Syntax
'Declaration
 
Protected Overridable Function GetLaneSize( _
   ByVal sizingType As SizingType, _
   ByVal dataContext As Object, _
   ByVal availableSpace As Double, _
   ByVal totalLanes As Integer _
) As Double
'Usage
 
Dim instance As CoverElementsPane
Dim sizingType As SizingType
Dim dataContext As Object
Dim availableSpace As Double
Dim totalLanes As Integer
Dim value As Double
 
value = instance.GetLaneSize(sizingType, dataContext, availableSpace, totalLanes)

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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CoverElementsPane Class
CoverElementsPane Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.