Xceed Toolkit Plus for WPF v4.6 Documentation
DataPointPropertyName Enumeration
Example Example 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace : DataPointPropertyName Enumeration
Specifies DataPoint property name to apply binding to.
Syntax
'Declaration
 
Public Enum DataPointPropertyName 
   Inherits System.Enum
'Usage
 
Dim instance As DataPointPropertyName
public enum DataPointPropertyName : System.Enum 
Members
MemberDescription
LabelApply binding to the Label property.
NoneDo not apply binding.
XApply binding to the X property.
YApply binding to the Y property.
Remarks
Use the BindingInfo.Binding property to set the Binding object for a given DataPoint property, and use BindingInfo.PropertyName property (whose type is DataPointPropertyName) to set the property to use binding for.
Example
<Chart:Series DataPointsSource="{Binding Source={StaticResource cvs}}" Template="{StaticResource template}" ShowPointsInLegend="true">
		<Chart:Series.DataPointBindings>
			<Chart:BindingInfo PropertyName="X">
				<Chart:BindingInfo.Binding>
					<Binding Path="Age"/>
				</Chart:BindingInfo.Binding>
			</Chart:BindingInfo>
			<Chart:BindingInfo PropertyName="Y">
				<Chart:BindingInfo.Binding>
					<Binding Path="Skill"/>
				</Chart:BindingInfo.Binding>
			</Chart:BindingInfo>
			<Chart:BindingInfo PropertyName="Label">
				<Chart:BindingInfo.Binding>
					<Binding Path="Name"/>
				</Chart:BindingInfo.Binding>
			</Chart:BindingInfo>
		</Chart:Series.DataPointBindings>
</Chart:Series>
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Xceed.Wpf.Toolkit.Chart.DataPointPropertyName

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

Xceed.Wpf.Toolkit.Chart Namespace