DiagramShape.Parameters Property

Specifies shape parameters. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll

Declaration

[Browsable(false)]
public DoubleCollection Parameters { get; set; }
<Browsable(False)>
Public Property Parameters As DoubleCollection

Property Value

Type Description
DoubleCollection

A System.Windows.Media.DoubleCollection object that represents shape parameters.

Remarks

The parameters are used to dynamically calculate an end point, row height and other properties.

Examples

The Diagram control supports a special language for defining shapes. The main element that contains shape description is ShapeTemplate. This element describes a shape contour and may contain several segments:

- Start. Specifies the start point

- Line. Defines a line with start and end points

- Arc. Defines an arc with start and end points

To specify connection points, use the ShapeTemplate.ConnectionPoints property.

To register custom shapes, create a stencil with the DiagramStencil.Create method and pass it to the DiagramToolboxRegistrator.RegisterStencil method.

Imports System
Imports System.Collections.Generic
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Windows

Namespace DXDiagram.CreateCustomShapes
    ''' <summary>
    ''' Interaction logic for App.xaml
    ''' </summary>
    Partial Public Class App
        Inherits Application

    End Class
End Namespace
See Also