dotnetCHARTING Send comments on this topic.
SortOrder Property
See Also 
dotnetCHARTING Namespace > LegendEntry Class : SortOrder Property


Gets or sets a value that represents the sort position of this LegenEntry when sorted with other entries in a LegendBox.

Syntax

Visual Basic (Declaration) 
Public Property SortOrder As Integer
Visual Basic (Usage)Copy Code
Dim instance As LegendEntry
Dim value As Integer
 
instance.SortOrder = value
 
value = instance.SortOrder
C# 
public int SortOrder {get; set;}

Example

Remarks

The default sort value of all legend entries is zero (0). To indicate that an entry is first in a legend box, set this property to -1.

See Also

© 2008 All Rights Reserved.