DiagramNodeVisualState

StockSharp.Xaml.Diagram.Presentation

Resolves semantic brushes for the StockSharp Designer cube.

实现: IEquatable<DiagramNodeVisualState>

构造函数

DiagramNodeVisualState
public DiagramNodeVisualState(string BackgroundResourceKey, string BorderResourceKey)
diagramNodeVisualState = DiagramNodeVisualState(BackgroundResourceKey, BorderResourceKey)

Resolves semantic brushes for the StockSharp Designer cube.

方法

Create
public static DiagramNodeVisualState Create(bool hasElement, bool isCurrentDebugElement, bool isSelected)
result = DiagramNodeVisualState.Create(hasElement, isCurrentDebugElement, isSelected)

Creates a cube visual state.

hasElement
Whether the plugin element is available.
isCurrentDebugElement
Whether this is the current debugger element.
isSelected
Whether the cube is selected.

返回值: Resolved semantic resource keys.