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
- BaseInfoTable.cs
- ErrorFormatter.cs
- MessagePropertyFilter.cs
- TransformCryptoHandle.cs
- SerializationUtilities.cs
- Rect3DConverter.cs
- MD5.cs
- QuaternionConverter.cs
- ApplicationInfo.cs
- UnsafeNativeMethods.cs
- Collection.cs
- CollectionConverter.cs
- AccessViolationException.cs
- DesignerHierarchicalDataSourceView.cs
- LocalBuilder.cs
- DragDeltaEventArgs.cs
- PropertyGroupDescription.cs
- DataKeyCollection.cs
- DataBindEngine.cs
- SerializationAttributes.cs
- ToolStripPanelCell.cs
- XmlILTrace.cs
- Int32CollectionValueSerializer.cs
- StringFunctions.cs
- MessageFilter.cs
- ColorTranslator.cs
- UIElementHelper.cs
- GlyphElement.cs
- SafeNativeMethods.cs
- DesignerDataStoredProcedure.cs
- BmpBitmapEncoder.cs
- DropDownButton.cs
- ResourceReader.cs
- WmlTextBoxAdapter.cs
- MessageQueue.cs
- EventItfInfo.cs
- ProcessingInstructionAction.cs
- ServiceKnownTypeAttribute.cs
- SimpleHandlerFactory.cs
- WindowsGraphicsWrapper.cs
- Decoder.cs
- Compiler.cs
- MinimizableAttributeTypeConverter.cs
- WebHttpSecurityElement.cs
- LocationUpdates.cs
- EditorZoneBase.cs
- SiteIdentityPermission.cs
- XmlReader.cs
- ScriptingWebServicesSectionGroup.cs
- InheritanceContextChangedEventManager.cs
- Collection.cs
- SerializationIncompleteException.cs
- OracleRowUpdatingEventArgs.cs
- CharAnimationBase.cs
- MultiAsyncResult.cs
- DataRow.cs
- Int64.cs
- baseaxisquery.cs
- XsltException.cs
- CachedRequestParams.cs
- CodeRegionDirective.cs
- DrawingGroup.cs
- PagedDataSource.cs
- CompositeActivityTypeDescriptor.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- SecurityKeyUsage.cs
- RestHandler.cs
- Size.cs
- WebPartTransformer.cs
- EmbeddedMailObjectsCollection.cs
- ObsoleteAttribute.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- CustomGrammar.cs
- TabControlDesigner.cs
- RegexReplacement.cs
- ApplicationInfo.cs
- ProfileProvider.cs
- CreateRefExpr.cs
- MethodImplAttribute.cs
- CommonGetThemePartSize.cs
- SamlAction.cs
- WebContext.cs
- CompModSwitches.cs
- NameSpaceExtractor.cs
- AttributeData.cs
- ManipulationCompletedEventArgs.cs
- RegistryKey.cs
- BmpBitmapDecoder.cs
- AutomationElement.cs
- SwitchAttribute.cs
- DocumentSequenceHighlightLayer.cs
- SecurityKeyIdentifier.cs
- Activity.cs
- StateInitializationDesigner.cs
- EqualityComparer.cs
- IndividualDeviceConfig.cs
- ResourceDescriptionAttribute.cs
- IsolatedStoragePermission.cs
- SafeLibraryHandle.cs
- ModelUtilities.cs