DiagramSocketVisualState

StockSharp.Xaml.Diagram.Presentation

Resolves the WPF-compatible breakpoint and selection brushes for a diagram socket.

Реализует: IEquatable<DiagramSocketVisualState>

Конструкторы

DiagramSocketVisualState
public DiagramSocketVisualState(string StrokeResourceKey, string FillResourceKey)
diagramSocketVisualState = DiagramSocketVisualState(StrokeResourceKey, FillResourceKey)

Resolves the WPF-compatible breakpoint and selection brushes for a diagram socket.

Методы

Create
public static DiagramSocketVisualState Create(bool isBreak, bool isBreakActive, bool isSelected)
result = DiagramSocketVisualState.Create(isBreak, isBreakActive, isSelected)

Creates a visual state from the socket flags.

isBreak
Whether a breakpoint is set.
isBreakActive
Whether the breakpoint is active.
isSelected
Whether the socket is selected.

Возвращает: Resolved semantic resource keys.