Xceed Toolkit Plus for WPF v4.6 Documentation
Arrow Class
Members  Example 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Chart Namespace : Arrow Class
Represents arrows on the axes.
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 Arrow 

   Inherits GridLine
'Usage
 
Dim instance As Arrow
[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 Arrow : GridLine 
Example
The following shows how to modify the length and thickness (breadth) of the arrow on the x-axis and y-axis.
<Window x:Class="WpfApplication.MainWindow"

        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

        xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"

        Title="MainWindow" Height="350" Width="525">

    <Grid>

        <xctk:Chart>

            <xctk:Chart.Areas>

                <xctk:Area x:Name="_area1" Title="Area #1" >

                    <xctk:Area.XAxis>

                        <xctk:Axis ShowTickLabels="True">

                            <xctk:Arrow Length="10" Thickness="40"/>

                        </xctk:Axis>

                    </xctk:Area.XAxis>

                    <xctk:Area.YAxis>

                        <xctk:Axis ShowTickLabels="True">

                            <xctk:Axis.Arrow>

                                <xctk:Arrow Length="10" Thickness="40"/>

                            </xctk:Axis.Arrow>

                        </xctk:Axis>

                    </xctk:Area.YAxis>

                    <xctk:Area.Series>

                        <xctk:Series x:Name="_series1"

                                          Spacing="20"

                                          ShowPointsInLegend="false"

                                          ShowHintLabels="false"

                                          HintLineLength="20">

                            <xctk:Series.Layout>

                                <xctk:ColumnLayout />

                            </xctk:Series.Layout>

                            <xctk:Series.DataPoints>

                                <xctk:DataPoint X="1" Y="1" Label="Oct" />

                                <xctk:DataPoint X="2" Y="2" Label="Jan"/>

                                <xctk:DataPoint X="2.5" Y="1.5" Label="Feb" />

                                <xctk:DataPoint X="4" Y="1" Label="Jun"/>

                                <xctk:DataPoint X="1.5" Y="3" Label="Dec"/>

                                <xctk:DataPoint X="5" Y="5" Label="Apr"/>

                                <xctk:DataPoint X="3" Y="1" Label="Nov"/>

                                <xctk:DataPoint X="4.5" Y="7" Label="Jul"/>

                                <xctk:DataPoint X="3.5" Y="4.5" Label="Aug"/>

                            </xctk:Series.DataPoints>

                        </xctk:Series>

                    </xctk:Area.Series>

                </xctk:Area>

            </xctk:Chart.Areas>

        </xctk:Chart>

    </Grid>

</Window>
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.GridLine
                              Xceed.Wpf.Toolkit.Chart.Arrow

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

Arrow Members
Xceed.Wpf.Toolkit.Chart Namespace