Click or drag to resize

DiagramElementParamHelperSetDisplayT Method

To set the DisplayAttribute attribute for the diagram element parameter.

Namespace:  StockSharp.Xaml.Diagram
Assembly:  StockSharp.Xaml.Diagram (in StockSharp.Xaml.Diagram.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static DiagramElementParam<T> SetDisplay<T>(
	this DiagramElementParam<T> param,
	string groupName,
	string displayName,
	string description,
	int order
)

Parameters

param
Type: StockSharp.Xaml.DiagramDiagramElementParamT
The diagram element parameter.
groupName
Type: SystemString
The category of the diagram element parameter.
displayName
Type: SystemString
The display name.
description
Type: SystemString
The description of the diagram element parameter.
order
Type: SystemInt32
The property order.

Type Parameters

T
The diagram element parameter type.

Return Value

Type: DiagramElementParamT
The diagram element parameter.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DiagramElementParamT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also