Skip to main content
A newer version of this page is available. .

DiagramShape.Parameters Property

Specifies shape parameters. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v18.2.dll

Declaration

[Browsable(false)]
public DoubleCollection Parameters { get; set; }

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.

Example

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