Struct ScrollRange
A simple struct to store minimum and maximum Double type values for the scroll range
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public struct ScrollRange
Constructors
| Improve this Doc View SourceScrollRange(Boolean)
Sets the scroll range to default values of zero, and sets the IsScrollable property as specified.
Declaration
public ScrollRange(bool isScrollable)
Parameters
Type | Name | Description |
---|---|---|
Boolean | isScrollable | true to make this item scrollable, false otherwise |
ScrollRange(Double, Double, Boolean)
Construct a ScrollRange object given the specified data values.
Declaration
public ScrollRange(double min, double max, bool isScrollable)
Parameters
Type | Name | Description |
---|---|---|
Double | min | The minimum axis value limit for the scroll bar |
Double | max | The maximum axis value limit for the scroll bar |
Boolean | isScrollable | true to make this item scrollable, false otherwise |
ScrollRange(ScrollRange)
The Copy Constructor
Declaration
public ScrollRange(ScrollRange rhs)
Parameters
Type | Name | Description |
---|---|---|
ScrollRange | rhs | The ScrollRange object from which to copy |
Properties
| Improve this Doc View SourceIsScrollable
Gets or sets a property that determines if the Axis corresponding to this ScrollRange object can be scrolled.
Declaration
public bool IsScrollable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Max
The maximum axis value limit for the scroll bar.
Declaration
public double Max { get; set; }
Property Value
Type | Description |
---|---|
Double |
Min
The minimum axis value limit for the scroll bar.
Declaration
public double Min { get; set; }
Property Value
Type | Description |
---|---|
Double |