Back to Devexpress

Parameter Class

corelibraries-devexpress-dot-diagram-dot-core-dot-shapes-7ca80ad4.md

latest3.2 KB
Original Source

Parameter Class

Represents a parameter that is used when defining shape templates to enable shape transformations.

Namespace : DevExpress.Diagram.Core.Shapes

Assembly : DevExpress.Diagram.v25.2.Core.dll

NuGet Package : DevExpress.Diagram.Core

Declaration

csharp
public class Parameter
vb
Public Class Parameter

Remarks

To learn more, see:

The following code snippets (auto-collected from DevExpress Examples) contain references to the Parameter class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

diagramcontrol-how-to-create-custom-shapes-with-connection-points-using-xaml-markup-t381372/CS/XtraDiagram.CreateCustomShapesXaml/DiagramResources.xaml#L51

xml
<ShapeTemplate.Parameters>
    <Parameter DefaultValue="0.1"
               Point="CreatePoint(W / 2, P * H)"

wpf-diagramdesigner-create-custom-shapes-with-connection-points/CS/DXDiagram.CreateCustomShapes/CustomShapes.xaml#L50

xml
<ShapeTemplate.Parameters>
    <Parameter DefaultValue="0.1"
               Point="CreatePoint(W / 2, P * H)"

wpf-diagram-use-custom-functions-in-shape-templates/CS/WpfApp13/CustomShapes.xaml#L23

xml
<ShapeTemplate.Parameters>
    <Parameter DefaultValue="0"
           Point="CreatePoint((COS(P) + 1)/2*W, (SIN(P) + 1)/2*H)"

Inheritance

Object Parameter

See Also

Parameter Members

DevExpress.Diagram.Core.Shapes Namespace