Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Documents / PagesChangedEventArgs.cs / 1305600 / PagesChangedEventArgs.cs
//----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// File: PagesChangedEventArgs.cs
//
// Description: PagesChanged event.
//
// History:
// 08/29/2005 : [....] - created.
//
//---------------------------------------------------------------------------
namespace System.Windows.Documents
{
///
/// PagesChanged event handler.
///
public delegate void PagesChangedEventHandler(object sender, PagesChangedEventArgs e);
///
/// Event arguments for the PagesChanged event.
///
public class PagesChangedEventArgs : EventArgs
{
///
/// Constructor.
///
/// Zero-based page number for this first page that has changed.
/// Number of continuous pages changed.
public PagesChangedEventArgs(int start, int count)
{
_start = start;
_count = count;
}
///
/// Zero-based page number for this first page that has changed.
///
public int Start
{
get { return _start; }
}
///
/// Number of continuous pages changed. If the number of pages affected is
/// unknown, then this value will be Integer.MaxValue.
///
public int Count
{
get { return _count; }
}
///
/// Zero-based page number for this first page that has changed.
///
private readonly int _start;
///
/// Number of continuous pages changed. If the number of pages affected is
/// unknown, then this value will be Integer.MaxValue.
///
private readonly int _count;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectContext.cs
- SessionIDManager.cs
- Pair.cs
- DeobfuscatingStream.cs
- URLAttribute.cs
- OutgoingWebRequestContext.cs
- DataTemplateSelector.cs
- LinkClickEvent.cs
- SessionPageStatePersister.cs
- StateManagedCollection.cs
- Typeface.cs
- LineInfo.cs
- TableLayoutRowStyleCollection.cs
- EmptyReadOnlyDictionaryInternal.cs
- SessionViewState.cs
- DependentTransaction.cs
- XmlElementCollection.cs
- ValueHandle.cs
- Cursors.cs
- SqlDependencyListener.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- EventMappingSettings.cs
- AbstractSvcMapFileLoader.cs
- UserPersonalizationStateInfo.cs
- AutomationPropertyInfo.cs
- ILGenerator.cs
- StatusCommandUI.cs
- MimePart.cs
- ImageFormat.cs
- AnnotationAdorner.cs
- Dispatcher.cs
- ObjectItemCachedAssemblyLoader.cs
- CommentEmitter.cs
- IntegrationExceptionEventArgs.cs
- DbConnectionClosed.cs
- CompilerState.cs
- StandardOleMarshalObject.cs
- IssuanceTokenProviderState.cs
- BindingExpressionBase.cs
- PinProtectionHelper.cs
- WebFaultClientMessageInspector.cs
- HostExecutionContextManager.cs
- ButtonChrome.cs
- StylusButtonEventArgs.cs
- InfiniteTimeSpanConverter.cs
- BamlWriter.cs
- TreeNodeBindingCollection.cs
- InkCanvasFeedbackAdorner.cs
- CopyCodeAction.cs
- GraphicsPathIterator.cs
- RayMeshGeometry3DHitTestResult.cs
- BitmapEffectDrawing.cs
- StorageFunctionMapping.cs
- XmlElementAttribute.cs
- FileAuthorizationModule.cs
- Dispatcher.cs
- AtomEntry.cs
- DetailsViewDeleteEventArgs.cs
- SyndicationContent.cs
- HyperLinkColumn.cs
- EndpointDiscoveryElement.cs
- CurrencyManager.cs
- EllipseGeometry.cs
- XsltLibrary.cs
- StaticResourceExtension.cs
- WebResourceUtil.cs
- DataGridViewColumnConverter.cs
- SignatureResourceHelper.cs
- AccessDataSourceDesigner.cs
- WindowsIPAddress.cs
- UndoManager.cs
- ServiceOperation.cs
- InputScope.cs
- ZipPackage.cs
- OperationAbortedException.cs
- ScriptReference.cs
- Scene3D.cs
- httpapplicationstate.cs
- AliasExpr.cs
- DataGridTablesFactory.cs
- GridViewActionList.cs
- ResetableIterator.cs
- JapaneseLunisolarCalendar.cs
- HierarchicalDataTemplate.cs
- Membership.cs
- IdnMapping.cs
- UIntPtr.cs
- DecoderReplacementFallback.cs
- EncoderParameters.cs
- SelectedGridItemChangedEvent.cs
- Floater.cs
- OleDbConnectionFactory.cs
- MsmqIntegrationValidationBehavior.cs
- ValidationErrorInfo.cs
- _NetRes.cs
- ConstantSlot.cs
- FontStyle.cs
- GACIdentityPermission.cs
- StrokeSerializer.cs
- ObjectCloneHelper.cs