Back to Devexpress

Parameter.Max Property

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

latest3.0 KB
Original Source

Parameter.Max Property

Specifies the maximum parameter value that can be set by the end-user.

Namespace : DevExpress.Diagram.Core.Shapes

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

NuGet Package : DevExpress.Diagram.Core

Declaration

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

Property Value

TypeDescription
CriteriaOperator

A numerical value that is the maximum value of the parameter.

|

Remarks

Use the Max and Parameter.Min properties to specify the limits within which the end-user can modify the parameter.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Max 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#L54

xml
Value="P.Y / H"
               Min="0" Max="1" />
</ShapeTemplate.Parameters>

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

xml
Value="P.Y / H"
               Min="0" Max="1" />
</ShapeTemplate.Parameters>

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

xml
Value="atn2(P.Y/H*2-1, P.X/W*2-1)"
           Min="-3.14" Max="3.14" />
</ShapeTemplate.Parameters>

See Also

Parameter Class

Parameter Members

DevExpress.Diagram.Core.Shapes Namespace