File: UI\WebControls\BulletedListEventArgs.cs
Project: ndp\fx\src\xsp\system\Web\System.Web.csproj (System.Web)
//------------------------------------------------------------------------------
// <copyright file="BulletedListEventArgs.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>                                                                
//------------------------------------------------------------------------------
 
namespace System.Web.UI.WebControls {
    
    using System;
    using System.Web;
 
    /// <devdoc>
    /// <para>The event args when a bulletedlist causes a postback.</para>
    /// </devdoc>
    public class BulletedListEventArgs : EventArgs {
 
        private int _index;
 
 
        /// <devdoc>
        /// Constructor.
        /// </devdoc>
        /// <param name="index">The index of the element which caused the event.</param>
        public BulletedListEventArgs(int index) {
            _index = index;
        }
 
 
        /// <devdoc>
        /// The index of the element which caused the event.
        /// </devdoc>
        public int Index {
            get {
                return _index;
            }
        }
    }
}