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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace : ChartPrimitive Class
Base class of all of the chart's visual elements.
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 ChartPrimitive 
   Inherits System.Windows.Controls.ContentControl
'Usage
 
Dim instance As ChartPrimitive
[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 ChartPrimitive : System.Windows.Controls.ContentControl 
Remarks

ChartPrimitive is the base class of every visual element in a chart. This includes columns/bars, pie segments, lines, labels, etc.

Use the ContentTemplate property to set a DataTemplate that represents the appearance of a primitive.

Use the Content property to set the binding source object for ContentTemplate. Use the Info property to get or set the appropriate binding source object; this is usually a PrimitiveInfoBase-derived object. The Content property must be set when a primitive's Arrange is performed by the LayoutEngine object of the Layout property of a Series

Use the IsHighlighted property to enable the highlight of a primitive.

Use the IsCovered property to render a primitive that is "covered," which means that this primitive is not highlighted, but some other primitive is highlighted.

Use the DataPoint property to get or set the DataPoint corresponding to this primitive.

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.GridLine

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

ChartPrimitive Members
Xceed.Wpf.Toolkit.Chart Namespace