Back to Devexpress

DiagramConnector.BeginArrow Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramconnector-9616bfbf.md

latest2.6 KB
Original Source

DiagramConnector.BeginArrow Property

Gets or sets the connector’s start arrow style.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(null)]
[DiagramCategory(DiagramCategory.Appearance)]
public virtual ArrowDescription BeginArrow { get; set; }
vb
<DefaultValue(Nothing)>
<DiagramCategory(DiagramCategory.Appearance)>
Public Overridable Property BeginArrow As ArrowDescription

Property Value

TypeDefaultDescription
DevExpress.Diagram.Core.ArrowDescriptionnull

An object that specifies the start arrow style.

|

Remarks

An arrow style is specified by a certain DevExpress.Diagram.Core.ArrowDescription class object.

You can access predefined arrow styles from the DevExpress.Diagram.Core.ArrowDescriptions class, which provides a set of static properties that return ArrowDescription objects.

The available arrow styles are shown in the image below.

To modify the arrow size, use the DiagramConnector.BeginArrowSize property.

Example

The following example shows how to specify arrow styles and text for a diagram connector.

csharp
using DevExpress.Diagram.Core;

diagramConnector1.BeginArrow = ArrowDescriptions.FilledSquare;
diagramConnector1.EndArrow = ArrowDescriptions.FilledDoubleArrow;
diagramConnector1.Content = "Start";
vb
Imports DevExpress.Diagram.Core

DiagramConnector1.BeginArrow = ArrowDescriptions.FilledSquare
DiagramConnector1.EndArrow = ArrowDescriptions.FilledDoubleArrow
DiagramConnector1.Text = "Start"

See Also

BeginArrowSize

EndArrow

DiagramConnector Class

DiagramConnector Members

DevExpress.XtraDiagram Namespace