PaginationProgressEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Documents / PaginationProgressEventArgs.cs / 1305600 / PaginationProgressEventArgs.cs

                            //---------------------------------------------------------------------------- 
//
// Copyright (C) Microsoft Corporation.  All rights reserved.
//
// File: PaginationProgressEventArgs.cs 
//
// Description: PaginationProgress event. 
// 
// History:
//  08/29/2005 : [....] - created. 
//
//---------------------------------------------------------------------------

namespace System.Windows.Documents 
{
    ///  
    /// PaginationProgress event handler. 
    /// 
    public delegate void PaginationProgressEventHandler(object sender, PaginationProgressEventArgs e); 

    /// 
    /// Event arguments for the PaginationProgress event.
    ///  
    public class PaginationProgressEventArgs : EventArgs
    { 
        ///  
        /// Constructor.
        ///  
        /// Zero-based page number for this first page that has been paginated.
        /// Number of continuous pages paginated.
        public PaginationProgressEventArgs(int start, int count)
        { 
            _start = start;
            _count = count; 
        } 

        ///  
        /// Zero-based page number for this first page that has been paginated.
        /// 
        public int Start
        { 
            get { return _start; }
        } 
 
        /// 
        /// Number of continuous pages paginated. 
        /// 
        public int Count
        {
            get { return _count; } 
        }
 
        ///  
        /// Zero-based page number for this first page that has been paginated.
        ///  
        private readonly int _start;

        /// 
        /// Number of continuous pages paginated. 
        /// 
        private readonly int _count; 
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK