Version

Apply Method (RotateAxisLabelLayoutBehavior)

Apply this Layout Behavior.
Syntax
'Declaration
 
Public Overrides Function Apply( _
   ByVal bounds As Rectangle, _
   ByVal axis As IAdvanceAxis, _
   ByVal axisApp As AxisAppearance, _
   ByVal labels As AxisLabelInfoCollection, _
   ByRef boundsUsed As Rectangle _
) As Boolean
public override bool Apply( 
   Rectangle bounds,
   IAdvanceAxis axis,
   AxisAppearance axisApp,
   AxisLabelInfoCollection labels,
   out Rectangle boundsUsed
)

Parameters

bounds
The bounding rectangle for the given labels.
axis
The axis being used.
axisApp
The axis appearance object.
labels
The labels to layout.
boundsUsed
A rectangle representing the total bounds that were used after the completion of this method.

Return Value

True if the Behavior was successful, otherwise False.
Remarks

This layout behavior is considered succesful if all label text can be displayed at the given rotation without any labels overlapping.

Requirements

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