Code:
/ 4.0 / 4.0 / 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.
//----------------------------------------------------------------------------
//
// 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
- SystemMulticastIPAddressInformation.cs
- DocumentGridContextMenu.cs
- GregorianCalendar.cs
- MenuItem.cs
- SafeFileMappingHandle.cs
- NetworkCredential.cs
- ButtonFieldBase.cs
- MarginCollapsingState.cs
- ZoneMembershipCondition.cs
- ExcCanonicalXml.cs
- TrustLevel.cs
- AttributeInfo.cs
- XmlSchemaAnnotation.cs
- TextComposition.cs
- Filter.cs
- TraceProvider.cs
- XPathSelectionIterator.cs
- StylusPointCollection.cs
- iisPickupDirectory.cs
- TextRangeEditTables.cs
- ItemList.cs
- AppSettingsExpressionBuilder.cs
- TableCell.cs
- InvokeMethodActivityDesigner.cs
- Int64AnimationUsingKeyFrames.cs
- RecognizeCompletedEventArgs.cs
- ProfileParameter.cs
- Rule.cs
- LineGeometry.cs
- ConfigurationStrings.cs
- SspiSecurityTokenProvider.cs
- XdrBuilder.cs
- TypeUtil.cs
- AsyncResult.cs
- UserInitiatedNavigationPermission.cs
- StringUtil.cs
- GrowingArray.cs
- IntPtr.cs
- TagNameToTypeMapper.cs
- WindowClosedEventArgs.cs
- ProjectionRewriter.cs
- XmlEncoding.cs
- XPathAxisIterator.cs
- DataGridLength.cs
- ManagementObject.cs
- DataTableMappingCollection.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ObjectAnimationBase.cs
- ResXBuildProvider.cs
- ColorBlend.cs
- KnownTypeAttribute.cs
- DrawingAttributeSerializer.cs
- AssociationEndMember.cs
- InvariantComparer.cs
- XamlClipboardData.cs
- TagPrefixCollection.cs
- ADMembershipUser.cs
- CompoundFileStorageReference.cs
- SymLanguageVendor.cs
- TypefaceMap.cs
- GridViewColumnHeaderAutomationPeer.cs
- WebServiceAttribute.cs
- ItemContainerPattern.cs
- ArrayTypeMismatchException.cs
- FloaterBaseParaClient.cs
- GenerateScriptTypeAttribute.cs
- ExchangeUtilities.cs
- DataGridViewColumn.cs
- SafeHandles.cs
- AspProxy.cs
- ContractReference.cs
- DefaultPrintController.cs
- QilInvoke.cs
- ControlBuilder.cs
- CorrelationScope.cs
- DnsPermission.cs
- MouseActionConverter.cs
- DocumentPageViewAutomationPeer.cs
- RuleProcessor.cs
- ReachVisualSerializer.cs
- DateTimeConverter.cs
- ReferenceTypeElement.cs
- GraphicsContext.cs
- SmtpTransport.cs
- CryptoApi.cs
- WebConfigurationHost.cs
- ScrollItemPatternIdentifiers.cs
- ImagingCache.cs
- StoreItemCollection.cs
- SchemaCollectionPreprocessor.cs
- Base64WriteStateInfo.cs
- DataServicePagingProviderWrapper.cs
- ComboBox.cs
- CommandID.cs
- XmlDataCollection.cs
- RevocationPoint.cs
- IUnknownConstantAttribute.cs
- ObjectViewEntityCollectionData.cs
- EntityAdapter.cs
- CompilerGlobalScopeAttribute.cs