File: winforms\Managed\System\WinForms\ScrollEventType.cs
Project: ndp\fx\src\System.Windows.Forms.csproj (System.Windows.Forms)
//------------------------------------------------------------------------------
// <copyright file="ScrollEventType.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
/*
 */
namespace System.Windows.Forms {
 
    using System.Diagnostics;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using Microsoft.Win32;
 
 
    /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType"]/*' />
    /// <devdoc>
    ///    <para>
    ///       Specifies the type of action used to raise the <see cref='System.Windows.Forms.ScrollBar.Scroll'/> event.
    ///       
    ///    </para>
    /// </devdoc>
    [System.Runtime.InteropServices.ComVisible(true)]
    public enum ScrollEventType {
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.SmallDecrement"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The
        ///       scroll box was
        ///       moved a small
        ///       distance. The user clicked the left(horizontal) or top(vertical) scroll arrow or pressed the UP ARROW
        ///       key.
        ///       
        ///    </para>
        /// </devdoc>
        SmallDecrement = NativeMethods.SB_LINELEFT,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.SmallIncrement"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The
        ///       scroll box was
        ///       moved a small distance. The user clicked the right(horizontal) or bottom(vertical) scroll arrow or
        ///       pressed the DOWN ARROW key.
        ///       
        ///    </para>
        /// </devdoc>
        SmallIncrement = NativeMethods.SB_LINERIGHT,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.LargeDecrement"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The scroll box
        ///       moved a large distance. The user clicked the scroll bar to the left(horizontal) or above(vertical)
        ///       the scroll box, or pressed the PAGE UP key.
        ///       
        ///    </para>
        /// </devdoc>
        LargeDecrement = NativeMethods.SB_PAGELEFT,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.LargeIncrement"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The scroll box moved a large distance. The user clicked the scroll bar to
        ///       the right(horizontal) or below(vertical) the scroll box, or pressed the PAGE DOWN key.
        ///       
        ///    </para>
        /// </devdoc>
        LargeIncrement = NativeMethods.SB_PAGERIGHT,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.ThumbPosition"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The scroll box was moved.
        ///       
        ///    </para>
        /// </devdoc>
        ThumbPosition = NativeMethods.SB_THUMBPOSITION,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.ThumbTrack"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The scroll box
        ///       is currently being moved.
        ///       
        ///    </para>
        /// </devdoc>
        ThumbTrack = NativeMethods.SB_THUMBTRACK,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.First"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The
        ///       scroll box was moved to the <see cref='System.Windows.Forms.ScrollBar.Minimum'/>
        ///       position.
        ///       
        ///    </para>
        /// </devdoc>
        First = NativeMethods.SB_LEFT,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.Last"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The
        ///       scroll box was moved to the <see cref='System.Windows.Forms.ScrollBar.Maximum'/>
        ///       position.
        ///       
        ///    </para>
        /// </devdoc>
        Last = NativeMethods.SB_RIGHT,
 
        /// <include file='doc\ScrollEventType.uex' path='docs/doc[@for="ScrollEventType.EndScroll"]/*' />
        /// <devdoc>
        ///    <para>
        ///       The scroll box has stopped moving.
        ///       
        ///    </para>
        /// </devdoc>
        EndScroll = NativeMethods.SB_ENDSCROLL,
 
    }
}