Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Documents / GetPageNumberCompletedEventArgs.cs / 1 / GetPageNumberCompletedEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // File: GetPageNumberCompletedEventArgs.cs // // Description: GetPageNumberCompleted event. // // History: // 08/29/2005 : [....] - created. // //--------------------------------------------------------------------------- using System.ComponentModel; // AsyncCompletedEventArgs namespace System.Windows.Documents { ////// GetPageNumberCompleted event handler. /// public delegate void GetPageNumberCompletedEventHandler(object sender, GetPageNumberCompletedEventArgs e); ////// Event arguments for the GetPageNumberCompleted event. /// public class GetPageNumberCompletedEventArgs : AsyncCompletedEventArgs { ////// Constructor. /// /// The parameter passed into the GetPageNumberAsync call. /// The first page number on which the element appears. /// Error occurred during an asynchronous operation. /// Whether an asynchronous operation has been cancelled. /// Unique identifier for the asynchronous task. public GetPageNumberCompletedEventArgs(ContentPosition contentPosition, int pageNumber, Exception error, bool cancelled, object userState) : base(error, cancelled, userState) { _contentPosition = contentPosition; _pageNumber = pageNumber; } ////// The parameter passed into the GetPageNumberAsync call. /// public ContentPosition ContentPosition { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _contentPosition; } } ////// The first page number on which the element appears. /// public int PageNumber { get { // Raise an exception if the operation failed or was cancelled. this.RaiseExceptionIfNecessary(); return _pageNumber; } } ////// The parameter passed into the GetPageNumberAsync call. /// private readonly ContentPosition _contentPosition; ////// The first page number on which the element appears. /// private readonly int _pageNumber; } } // 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
- SequentialUshortCollection.cs
- SetterBaseCollection.cs
- WebBrowserProgressChangedEventHandler.cs
- ObjectConverter.cs
- ReferencedCollectionType.cs
- XmlDeclaration.cs
- SoapEnumAttribute.cs
- CustomSignedXml.cs
- ChangeNode.cs
- CriticalFinalizerObject.cs
- WebConvert.cs
- RegionInfo.cs
- PartialTrustHelpers.cs
- SetterBaseCollection.cs
- WindowsIPAddress.cs
- XmlObjectSerializer.cs
- ZipFileInfoCollection.cs
- SelectionItemProviderWrapper.cs
- EventSchemaTraceListener.cs
- PropertyConverter.cs
- MenuScrollingVisibilityConverter.cs
- TableCell.cs
- DataMemberConverter.cs
- BitmapCodecInfoInternal.cs
- ExpressionsCollectionEditor.cs
- ProfileInfo.cs
- StringBuilder.cs
- PseudoWebRequest.cs
- InputProviderSite.cs
- ResetableIterator.cs
- TaskScheduler.cs
- DynamicPropertyReader.cs
- ItemCollection.cs
- InkPresenterAutomationPeer.cs
- ProcessModelInfo.cs
- IImplicitResourceProvider.cs
- JournalEntryStack.cs
- ApplicationInterop.cs
- SplitterCancelEvent.cs
- SessionPageStatePersister.cs
- InkCanvas.cs
- SqlTypesSchemaImporter.cs
- FacetValues.cs
- TypeInitializationException.cs
- HttpHeaderCollection.cs
- RectangleGeometry.cs
- SeverityFilter.cs
- ETagAttribute.cs
- TransactionsSectionGroup.cs
- ViewManagerAttribute.cs
- COM2IDispatchConverter.cs
- SocketConnection.cs
- PaperSource.cs
- MessageBox.cs
- ResourceAssociationSetEnd.cs
- RtfControls.cs
- GeneratedContractType.cs
- CodeLinePragma.cs
- IndexedEnumerable.cs
- FixedSOMElement.cs
- Pen.cs
- NullableLongAverageAggregationOperator.cs
- CannotUnloadAppDomainException.cs
- DbgCompiler.cs
- MULTI_QI.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- LoadRetryConstantStrategy.cs
- ImageUrlEditor.cs
- ResourcesGenerator.cs
- Nullable.cs
- WebResourceAttribute.cs
- DiscardableAttribute.cs
- Visual3D.cs
- TrackingMemoryStreamFactory.cs
- UrlMappingsModule.cs
- ListBoxItem.cs
- ListBoxItem.cs
- EntryIndex.cs
- HandlerBase.cs
- VariableQuery.cs
- EventLog.cs
- DataSourceXmlSubItemAttribute.cs
- DataGridViewControlCollection.cs
- WindowsStatusBar.cs
- FormsIdentity.cs
- DragDropManager.cs
- Object.cs
- DesignObjectWrapper.cs
- StructuralType.cs
- CompositionTarget.cs
- IdentityValidationException.cs
- SiteMapDataSourceDesigner.cs
- NamespaceInfo.cs
- dataprotectionpermission.cs
- SqlDataAdapter.cs
- SqlDataSourceCommandEventArgs.cs
- OdbcTransaction.cs
- ContainerAction.cs
- DataControlExtensions.cs
- GeneralTransform3DGroup.cs