Xceed Toolkit Plus for WPF v4.6 Documentation
LevelLabel Class
Members 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace : LevelLabel Class
Draws level labels and stores their index.
Syntax
'Declaration
 
<DefaultPropertyAttribute("Content")>

<ContentPropertyAttribute("Content")>

<LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)>

<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>

<XmlLangPropertyAttribute("Language")>

<UsableDuringInitializationAttribute(True)>

<RuntimeNamePropertyAttribute("Name")>

<UidPropertyAttribute("Uid")>

<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>

<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>

Public Class LevelLabel 

   Inherits BaseTitleLabel
'Usage
 
Dim instance As LevelLabel
[DefaultProperty("Content")]

[ContentProperty("Content")]

[Localizability(LocalizationCategory.None, Readability=Readability.Unreadable)]

[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]

[XmlLangProperty("Language")]

[UsableDuringInitialization(true)]

[RuntimeNameProperty("Name")]

[UidProperty("Uid")]

[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]

[NameScopeProperty("NameScope", System.Windows.NameScope)]

public class LevelLabel : BaseTitleLabel 
Remarks

Level is used to determine the relative position of tick labels when AxisLabelsLayout is set to ShowAll: when there is not enough space to show labels side-by-side, tick labels are staggered.

For example, if a non-reversed chart is resized horizontally so that there is not quite enough room to fit the tick labels side-by-side, the labels closest to the x-axis will have a Level of 0, whereas alternating labels will be beneath these labels and have a Level of 1, creating two rows of labels. If the chart's horizontal size is further reduced, tick labels will be positioned so there are 3 rows, etc.

Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        Xceed.Wpf.Toolkit.Chart.ChartPrimitive
                           Xceed.Wpf.Toolkit.Chart.BaseTitleLabel
                              Xceed.Wpf.Toolkit.Chart.LevelLabel

Requirements

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

LevelLabel Members
Xceed.Wpf.Toolkit.Chart Namespace