DiagramNodeVisualState
StockSharp.Xaml.Diagram.Presentation
Resolves semantic brushes for the StockSharp Designer cube.
Implements: IEquatable<DiagramNodeVisualState>
Constructors
DiagramNodeVisualState
public DiagramNodeVisualState(string BackgroundResourceKey, string BorderResourceKey)
diagramNodeVisualState = DiagramNodeVisualState(BackgroundResourceKey, BorderResourceKey)
Resolves semantic brushes for the StockSharp Designer cube.
Methods
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.
Returns: Resolved semantic resource keys.