

'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
'UsageDim 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
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.
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
| Name | Description | |
|---|---|---|
![]() | ChartPrimitive Constructor | Overloaded. Initializes a new instance of the ChartPrimitive class. |
| Name | Description | |
|---|---|---|
![]() | FindLogicalAncestor<T> | Finds the logical ancenster |
![]() | FindLogicalAncestorsAndSelf | |
![]() | FindLogicalChildren<T> | Find the logical children. |
![]() | FindVisualAncestor<T> | Finds the visual ancestor. |
![]() | FindVisualChildren<T> | Finds the visual children. |
![]() | FindVisualTreeRoot | Finds the visual tree root. |
![]() | ShowDialog | Overloaded. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.