Struct ScrollRange
A simple struct to store minimum and maximum System.Double type values for the scroll range
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
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 |
---|---|---|
System.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 |
---|---|---|
System.Double | min | The minimum axis value limit for the scroll bar |
System.Double | max | The maximum axis value limit for the scroll bar |
System.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 |
---|---|
System.Boolean |
Max
The maximum axis value limit for the scroll bar.
Declaration
public double Max { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Min
The minimum axis value limit for the scroll bar.
Declaration
public double Min { get; set; }
Property Value
Type | Description |
---|---|
System.Double |