Back to Devexpress

Parameter.Point Property

corelibraries-devexpress-dot-diagram-dot-core-dot-shapes-dot-parameter-b859d4bb.md

latest3.2 KB
Original Source

Parameter.Point Property

Specifies the coordinates of the parameter’s handle using the CreatePoint method.

Namespace : DevExpress.Diagram.Core.Shapes

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

NuGet Package : DevExpress.Diagram.Core

Declaration

csharp
public CriteriaOperator Point { get; set; }
vb
Public Property Point As CriteriaOperator

Property Value

TypeDescription
CriteriaOperator

The coordinates of the parameter’s handle.

|

Remarks

Use the P variable to pass the current Parameter.Value to the CreatePoint method’s parameters.

xaml
Point="CreatePoint(W / 2, P * H)"

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

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#L52

xml
<Parameter DefaultValue="0.1"
           Point="CreatePoint(W / 2, P * H)"
           Value="P.Y / H"

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

xml
<Parameter DefaultValue="0.1"
           Point="CreatePoint(W / 2, P * H)"
           Value="P.Y / H"

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

xml
<Parameter DefaultValue="0"
       Point="CreatePoint((COS(P) + 1)/2*W, (SIN(P) + 1)/2*H)"
       Value="atn2(P.Y/H*2-1, P.X/W*2-1)"

See Also

Parameter Class

Parameter Members

DevExpress.Diagram.Core.Shapes Namespace