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
- AnnotationComponentChooser.cs
- RecipientInfo.cs
- ListChangedEventArgs.cs
- UrlMappingsSection.cs
- FileDialogCustomPlacesCollection.cs
- RemotingException.cs
- FamilyMapCollection.cs
- SchemaNamespaceManager.cs
- OdbcParameter.cs
- WindowsTitleBar.cs
- CryptoApi.cs
- ResourceExpressionBuilder.cs
- XmlDictionaryReaderQuotas.cs
- SafeArrayTypeMismatchException.cs
- ContainerParaClient.cs
- TextServicesManager.cs
- ErrorWebPart.cs
- NamespaceMapping.cs
- LinearQuaternionKeyFrame.cs
- MouseGestureValueSerializer.cs
- RsaSecurityKey.cs
- Point3D.cs
- CustomSignedXml.cs
- CalendarData.cs
- XmlWrappingReader.cs
- WSSecurityTokenSerializer.cs
- DataRowComparer.cs
- KeyGestureValueSerializer.cs
- FormViewDeletedEventArgs.cs
- LinqExpressionNormalizer.cs
- XmlDataImplementation.cs
- FrameworkElement.cs
- PropertyMappingExceptionEventArgs.cs
- CharacterHit.cs
- SelectionGlyphBase.cs
- XmlDataSource.cs
- ApplicationSettingsBase.cs
- ConfigurationException.cs
- Section.cs
- ReadOnlyCollection.cs
- RelationshipEndCollection.cs
- OLEDB_Enum.cs
- HtmlEmptyTagControlBuilder.cs
- FileAuthorizationModule.cs
- OdbcConnection.cs
- Environment.cs
- SystemIPv6InterfaceProperties.cs
- streamingZipPartStream.cs
- ClientTarget.cs
- XmlSchemaAnnotation.cs
- HorizontalAlignConverter.cs
- TransformerTypeCollection.cs
- MultipartContentParser.cs
- ProxyWebPart.cs
- SafeFileMappingHandle.cs
- BindingBase.cs
- SortedList.cs
- FullTextState.cs
- HandoffBehavior.cs
- SiteMembershipCondition.cs
- EmptyReadOnlyDictionaryInternal.cs
- SourceFileBuildProvider.cs
- XsltQilFactory.cs
- MessageBox.cs
- InternalSafeNativeMethods.cs
- RealizedColumnsBlock.cs
- UdpDuplexChannel.cs
- HtmlInputPassword.cs
- AttachedPropertyMethodSelector.cs
- XamlPoint3DCollectionSerializer.cs
- ResourceDescriptionAttribute.cs
- DisableDpiAwarenessAttribute.cs
- HtmlControl.cs
- RenderDataDrawingContext.cs
- DrawingAttributeSerializer.cs
- SmiContext.cs
- TiffBitmapDecoder.cs
- MsmqInputMessagePool.cs
- DataGridViewDataConnection.cs
- SchemaEntity.cs
- XmlSchemaNotation.cs
- FilteredAttributeCollection.cs
- AssemblyUtil.cs
- CodeObjectCreateExpression.cs
- MemberAssignment.cs
- NoResizeHandleGlyph.cs
- MobileSysDescriptionAttribute.cs
- DbProviderFactories.cs
- __Filters.cs
- CodeDesigner.cs
- ExplicitDiscriminatorMap.cs
- DataGridViewToolTip.cs
- CodeChecksumPragma.cs
- FixedSOMFixedBlock.cs
- JsonXmlDataContract.cs
- ZipIOExtraFieldPaddingElement.cs
- TableLayoutPanelCellPosition.cs
- CallTemplateAction.cs
- ControllableStoryboardAction.cs
- MgmtConfigurationRecord.cs