'Usage
Dim instance As Legend
Dim value As VertAlign
instance.VertAlign = value
value = instance.VertAlign
[Category("Position")]
[Description("The vertical align of the legend relative to the vertical margin")]
[DefaultValue(Mono.Cecil.CustomAttributeArgument)]
public VertAlign VertAlign {get; set;}
Remarks
The legend position is controlled with the help of the HorizontalMargin,
VerticalMargin, HorzAlign and VertAlign properties of the Legend object.
The first two define the margins of the legend in percents of the control window
dimensions and the latter two how the legend should align to the margins.
Example
The following example positions the legend at the top of the control window.
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