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