Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Chart Namespace / DataPointPropertyName Enumeration
ExampleExample


In This Topic
    DataPointPropertyName Enumeration
    In This Topic
    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
    MemberValueDescription
    Label2Apply binding to the Label property.
    None3Do not apply binding.
    X0Apply binding to the X property.
    Y1Apply 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

    Supported Frameworks

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

    See Also