WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScrollInfo

    Show / Hide Table of Contents

    Class ScrollInfo

    Provides all properties to configure a scrollbar.

    Inheritance
    System.Object
    ScrollInfo
    Implements
    IScrollBar
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.Scroll
    Assembly: Syncfusion.GridCommon.Wpf.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 Description
    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 Description
    System.Double

    Maximum

    Gets or sets the upper limit of values of the scrollable range.

    Declaration
    public double Maximum { get; set; }
    Property Value
    Type Description
    System.Double

    Minimum

    Gets or sets the lower limit of values of the scrollable range.

    Declaration
    public double Minimum { get; set; }
    Property Value
    Type Description
    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 Description
    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 Description
    System.Double

    Methods

    Clone()

    Clones this instance.

    Declaration
    public ScrollInfo Clone()
    Returns
    Type Description
    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.

    Overrides
    System.Object.Equals(System.Object)

    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.

    Overrides
    System.Object.GetHashCode()

    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.

    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.

    Overrides
    System.Object.ToString()

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    ValueChanged

    Occurs when the Value property has changed.

    Declaration
    public event EventHandler ValueChanged
    Event Type
    Type Description
    System.EventHandler

    ValueChanging

    Occurs before the Value property is changed.

    Declaration
    public event ValueChangingEventHandler ValueChanging
    Event Type
    Type Description
    ValueChangingEventHandler

    Implements

    IScrollBar
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved