Version

GetIdealLabelSize Method (StaggerAxisLabelLayoutBehavior)

Gets the ideal label size according to this layout Behavior.
Syntax
'Declaration
 
Protected Overrides Function GetIdealLabelSize( _
   ByVal vertical As Boolean, _
   ByVal axisLayer As Axis, _
   ByVal labels As AxisLabelInfoCollection, _
   ByVal bounds As Rectangle _
) As Size
protected override Size GetIdealLabelSize( 
   bool vertical,
   Axis axisLayer,
   AxisLabelInfoCollection labels,
   Rectangle bounds
)

Parameters

vertical
Whether or not the axis is vertically oriented.
axisLayer
The axis layer.
labels
The collection of labels being handled by this Behavior.
bounds
The current bounding rectangle.

Return Value

The ideal label size according to this layout Behavior.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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