DiagramSocketVisualState
StockSharp.Xaml.Diagram.Presentation
Resolves the WPF-compatible breakpoint and selection brushes for a diagram socket.
Implementa: IEquatable<DiagramSocketVisualState>
Construtores
DiagramSocketVisualState
public DiagramSocketVisualState(string StrokeResourceKey, string FillResourceKey)
diagramSocketVisualState = DiagramSocketVisualState(StrokeResourceKey, FillResourceKey)
Resolves the WPF-compatible breakpoint and selection brushes for a diagram socket.
Métodos
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.
Retorna: Resolved semantic resource keys.