Click or drag to resize

DiagramElementParamHelperSetEditorT Method

To add the attribute 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> SetEditor<T>(
	this DiagramElementParam<T> param,
	Attribute editor
)

Parameters

param
Type: StockSharp.Xaml.DiagramDiagramElementParamT
The diagram element parameter.
editor
Type: SystemAttribute
Attribute.

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