Class ScrollProperty
The class used for scrollbar properties.
Implements
Inherited Members
Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public class ScrollProperty : ICloneable
Constructors
ScrollProperty()
/// Initializes a new instance of the ScrollProperty class.
Declaration
public ScrollProperty()
ScrollProperty(ScrollInfo)
Initializes a new instance of the ScrollProperty class with the specified scroll values.
Declaration
public ScrollProperty(ScrollInfo scrollInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| ScrollInfo | scrollInfo | Initializes values with the specified ScrollInfo values. |
Properties
Exists
Indicates whether this scrollbar exists.
Declaration
public bool? Exists { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Maximum
The maximum position of the scrollbar.
Declaration
public int? Maximum { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Minimum
The minimum position of the scrollbar.
Declaration
public int? Minimum { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageSize
The size (in lines) of a single page of the scrollbar.
Declaration
public int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Position
The current position of the scrollbar.
Declaration
public int? Position { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Methods
Clone()
Creates an exact copy of this object.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| object | a deep copy of the ScrollProperty instance. |
GetProperties()
Returns the inner (ScrollInfo) properties of this property.
Declaration
public IDictionary<string, object> GetProperties()
Returns
| Type | Description |
|---|---|
| IDictionary<string, object> |
Operators
implicit operator ScrollProperty(ScrollInfo)
Implicit cast of ScrollInfo to ScrollProperty. This is the same as calling new ScrollProperty(ScrollInfo).
Declaration
public static implicit operator ScrollProperty(ScrollInfo scrollInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| ScrollInfo | scrollInfo | The ScrollInfo instance to be cast to ScrollProperty. |
Returns
| Type | Description |
|---|---|
| ScrollProperty |