Class ScrollInfo
Provides all properties to configure a scrollbar.
Inherited Members
Namespace: Syncfusion.Maui.GridCommon.ScrollAxis
Assembly: Syncfusion.Maui.GridCommon.dll
Syntax
public class ScrollInfo : IScrollBar, INotifyPropertyChanged
Constructors
ScrollInfo()
Declaration
public ScrollInfo()
Properties
Enabled
Gets or sets a number that represents the current position of the scroll box on the scroll bar control.
Declaration
public bool Enabled { get; set; }
Property Value
| Type |
|---|
| bool |
LargeChange
Gets or sets a value to be added to or subtracted from the value of the property when the scroll box is moved a large distance.
Declaration
public double LargeChange { get; set; }
Property Value
| Type |
|---|
| double |
Maximum
Gets or sets the upper limit of values of the scrollable range.
Declaration
public double Maximum { get; set; }
Property Value
| Type |
|---|
| double |
Minimum
Gets or sets the lower limit of values of the scrollable range.
Declaration
public double Minimum { get; set; }
Property Value
| Type |
|---|
| double |
SmallChange
Gets or sets the value to be added to or subtracted from the value of the property when the scroll box is moved a small distance.
Declaration
public double SmallChange { get; set; }
Property Value
| Type |
|---|
| double |
Value
Gets or sets a numeric value that represents the current position of the scroll box on the scroll bar control.
Declaration
public double Value { get; set; }
Property Value
| Type |
|---|
| double |
Methods
Clone()
Clones this instance.
Declaration
public ScrollInfo Clone()
Returns
| Type |
|---|
| ScrollInfo |
CopyTo(ScrollInfo)
Copies current settings to another object.
Declaration
public void CopyTo(ScrollInfo sb)
Parameters
| Type | Name | Description |
|---|---|---|
| ScrollInfo | sb | another object. |
Equals(object)
Determines whether the specified ScrollInfo is equal to the current ScrollInfo.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The ScrollInfo to compare with the current ScrollInfo. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified ScrollInfo is equal to the current ScrollInfo; otherwise, false. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current ScrollInfo. |
Overrides
OnPropertyChanged(string)
Called when a property is changed and raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | Name of the property. |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| PropertyChangedEventHandler |
ValueChanged
Occurs when the Value property has changed.
Declaration
public event EventHandler ValueChanged
Event Type
| Type |
|---|
| EventHandler |
ValueChanging
Occurs before the Value property is changed.
Declaration
public event ValueChangingEventHandler ValueChanging
Event Type
| Type |
|---|
| ValueChangingEventHandler |