Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Documents / PaginationProgressEventArgs.cs / 1 / PaginationProgressEventArgs.cs
//----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// File: PaginationProgressEventArgs.cs
//
// Description: PaginationProgress event.
//
// History:
// 08/29/2005 : grzegorz - 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.
//----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
// File: PaginationProgressEventArgs.cs
//
// Description: PaginationProgress event.
//
// History:
// 08/29/2005 : grzegorz - 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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityClassGenerator.cs
- ComboBoxHelper.cs
- ObjectContextServiceProvider.cs
- ObjectDataSourceSelectingEventArgs.cs
- OletxCommittableTransaction.cs
- Image.cs
- KnowledgeBase.cs
- DataTableTypeConverter.cs
- Pair.cs
- DbConnectionStringCommon.cs
- TextParaClient.cs
- WebConfigurationHostFileChange.cs
- ConditionValidator.cs
- AssemblyName.cs
- _CookieModule.cs
- ContractMapping.cs
- SecurityException.cs
- SecurityTokenValidationException.cs
- EndpointAddressProcessor.cs
- StrongNameIdentityPermission.cs
- TileModeValidation.cs
- XmlWellformedWriter.cs
- PatternMatcher.cs
- Pair.cs
- Point3DKeyFrameCollection.cs
- newinstructionaction.cs
- MessageQueuePermission.cs
- AgileSafeNativeMemoryHandle.cs
- PageAdapter.cs
- FaultHandlingFilter.cs
- XmlQueryCardinality.cs
- WebEventTraceProvider.cs
- XmlEncoding.cs
- RecordManager.cs
- NamespaceInfo.cs
- ObjectDataSourceMethodEventArgs.cs
- TextBreakpoint.cs
- PrimaryKeyTypeConverter.cs
- LambdaCompiler.Binary.cs
- SqlCommandBuilder.cs
- RuntimeIdentifierPropertyAttribute.cs
- Parameter.cs
- EventKeyword.cs
- OperationAbortedException.cs
- TextMarkerSource.cs
- QueueProcessor.cs
- Constraint.cs
- RequestCachePolicy.cs
- ContentHostHelper.cs
- Model3DCollection.cs
- OwnerDrawPropertyBag.cs
- WindowHideOrCloseTracker.cs
- StateWorkerRequest.cs
- Utilities.cs
- RoleGroupCollection.cs
- DataGridViewRowConverter.cs
- ListControlStringCollectionEditor.cs
- HtmlInputHidden.cs
- DefaultBindingPropertyAttribute.cs
- ServicesUtilities.cs
- InvokeProviderWrapper.cs
- WebPartMinimizeVerb.cs
- StringExpressionSet.cs
- FragmentQuery.cs
- SearchForVirtualItemEventArgs.cs
- XmlElement.cs
- DeclaredTypeValidator.cs
- Vertex.cs
- CompilerCollection.cs
- LogSwitch.cs
- DropShadowBitmapEffect.cs
- SchemaNotation.cs
- HttpListenerContext.cs
- XmlAttribute.cs
- Helper.cs
- ScriptingProfileServiceSection.cs
- CorrelationToken.cs
- OrderedDictionary.cs
- AsymmetricKeyExchangeFormatter.cs
- ConfigurationStrings.cs
- SecurityVerifiedMessage.cs
- LookupNode.cs
- ApplicationException.cs
- RectangleGeometry.cs
- AddInController.cs
- SectionUpdates.cs
- OracleFactory.cs
- ArraySortHelper.cs
- FormViewInsertedEventArgs.cs
- ScriptResourceInfo.cs
- HtmlProps.cs
- MethodAccessException.cs
- ClientSideQueueItem.cs
- PrincipalPermission.cs
- SerializationInfoEnumerator.cs
- webclient.cs
- SystemIcmpV6Statistics.cs
- SafeCoTaskMem.cs
- FilterQueryOptionExpression.cs
- PointLight.cs