Class ScrollInfo
Provides all properties to configure a scrollbar.
Inheritance
Namespace: Syncfusion.UI.Xaml.ScrollAxis
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class ScrollInfo : Object, 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 |
---|
System.Boolean |
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 |
---|
System.Double |
Maximum
Gets or sets the upper limit of values of the scrollable range.
Declaration
public double Maximum { get; set; }
Property Value
Type |
---|
System.Double |
Minimum
Gets or sets the lower limit of values of the scrollable range.
Declaration
public double Minimum { get; set; }
Property Value
Type |
---|
System.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 |
---|
System.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 |
---|
System.Double |
Methods
add_ValueChanging(ValueChangingEventHandler)
Declaration
public void add_ValueChanging(ValueChangingEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ValueChangingEventHandler | value |
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 |
---|---|---|
System.Object | obj | The ScrollInfo to compare with the current ScrollInfo. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified ScrollInfo is equal to the current ScrollInfo; otherwise, false. |
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current ScrollInfo. |
OnPropertyChanged(String)
Called when a property is changed and raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property. |
remove_ValueChanging(ValueChangingEventHandler)
Declaration
public void remove_ValueChanging(ValueChangingEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ValueChangingEventHandler | value |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
ValueChanged
Occurs when the Value property has changed.
Declaration
public event EventHandler ValueChanged
Event Type
Type |
---|
System.EventHandler |
ValueChanging
Occurs before the Value property is changed.
Declaration
public event ValueChangingEventHandler ValueChanging
Event Type
Type |
---|
ValueChangingEventHandler |