DiagramScrollRange

StockSharp.Xaml.Diagram.Viewport

Where a viewport stands along one axis of the document it shows, in the terms of a scroll bar.

实现: IEquatable<DiagramScrollRange>

构造函数

DiagramScrollRange
public DiagramScrollRange(double Maximum, double Value, double ViewportSize)
diagramScrollRange = DiagramScrollRange(Maximum, Value, ViewportSize)

Where a viewport stands along one axis of the document it shows, in the terms of a scroll bar.

Maximum
How far the viewport can stand from the start of the document.
Value
How far the viewport stands from the start of the document.
ViewportSize
Length of the viewport.

属性

Maximum
public double Maximum { get; set; }
value = diagramScrollRange.Maximum
diagramScrollRange.Maximum = value

How far the viewport can stand from the start of the document.

Value
public double Value { get; set; }
value = diagramScrollRange.Value
diagramScrollRange.Value = value

How far the viewport stands from the start of the document.

ViewportSize
public double ViewportSize { get; set; }
value = diagramScrollRange.ViewportSize
diagramScrollRange.ViewportSize = value

Length of the viewport.