Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Documents / GetPageNumberCompletedEventArgs.cs / 1305600 / 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
- FrameworkElement.cs
- CipherData.cs
- DataGridViewCheckBoxColumn.cs
- WebControlAdapter.cs
- SqlXml.cs
- ProfileBuildProvider.cs
- Scene3D.cs
- LayoutEngine.cs
- PageBuildProvider.cs
- PointAnimationClockResource.cs
- ApplicationCommands.cs
- OptimisticConcurrencyException.cs
- ProviderIncompatibleException.cs
- RadioButton.cs
- cookiecollection.cs
- Command.cs
- ResourcePermissionBaseEntry.cs
- TablePatternIdentifiers.cs
- ProtectedProviderSettings.cs
- ResourcePermissionBase.cs
- UrlAuthFailureHandler.cs
- Events.cs
- TrustManager.cs
- QueryCacheEntry.cs
- ParserContext.cs
- TreeSet.cs
- DbProviderFactory.cs
- JoinSymbol.cs
- SoapEnumAttribute.cs
- WebHttpBindingElement.cs
- SystemEvents.cs
- DeferrableContentConverter.cs
- TrustManagerMoreInformation.cs
- DataGridTextBox.cs
- SystemColors.cs
- LineServicesRun.cs
- WinEventQueueItem.cs
- OperationAbortedException.cs
- DocumentApplicationJournalEntry.cs
- sqlstateclientmanager.cs
- BrushMappingModeValidation.cs
- _LocalDataStoreMgr.cs
- TraceHwndHost.cs
- DataView.cs
- _LazyAsyncResult.cs
- PasswordRecoveryDesigner.cs
- AnnotationHelper.cs
- validationstate.cs
- Debugger.cs
- RoleGroup.cs
- NotifyInputEventArgs.cs
- SingleTagSectionHandler.cs
- TypeDependencyAttribute.cs
- FileDialog_Vista.cs
- mediaclock.cs
- RemoteWebConfigurationHostStream.cs
- ElementFactory.cs
- ButtonRenderer.cs
- XmlEnumAttribute.cs
- WebHttpSecurity.cs
- Assembly.cs
- WSSecurityPolicy11.cs
- DebugHandleTracker.cs
- AspNetSynchronizationContext.cs
- ReflectTypeDescriptionProvider.cs
- PersonalizationProviderHelper.cs
- ModulesEntry.cs
- TextBoxRenderer.cs
- MappingMetadataHelper.cs
- SHA384.cs
- DialogResultConverter.cs
- DataControlButton.cs
- WCFServiceClientProxyGenerator.cs
- SafeIUnknown.cs
- AttachedPropertyMethodSelector.cs
- versioninfo.cs
- XamlWriter.cs
- PeerName.cs
- Win32.cs
- Size.cs
- CqlQuery.cs
- HtmlContainerControl.cs
- CompoundFileIOPermission.cs
- CompositeTypefaceMetrics.cs
- Int64AnimationBase.cs
- LayoutEngine.cs
- ListenerElementsCollection.cs
- HtmlTable.cs
- ImageConverter.cs
- WindowsIdentity.cs
- RichTextBoxAutomationPeer.cs
- InfiniteTimeSpanConverter.cs
- DataDocumentXPathNavigator.cs
- SqlUserDefinedAggregateAttribute.cs
- sqlmetadatafactory.cs
- Context.cs
- QilTypeChecker.cs
- ResourcesBuildProvider.cs
- XmlEntity.cs
- UInt16Storage.cs