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
- TagMapCollection.cs
- OleDbTransaction.cs
- SiteMapNodeItem.cs
- ListDictionary.cs
- FixedElement.cs
- PixelFormatConverter.cs
- ListViewCancelEventArgs.cs
- RetrieveVirtualItemEventArgs.cs
- ColumnTypeConverter.cs
- OleDbPermission.cs
- XamlTemplateSerializer.cs
- HttpGetClientProtocol.cs
- RsaSecurityTokenAuthenticator.cs
- OperatingSystem.cs
- CurrentChangingEventArgs.cs
- ReadOnlyNameValueCollection.cs
- DirectoryObjectSecurity.cs
- ProtocolReflector.cs
- StringToken.cs
- Slider.cs
- RayHitTestParameters.cs
- NavigatorInvalidBodyAccessException.cs
- FormsAuthenticationTicket.cs
- XmlEnumAttribute.cs
- GenericTextProperties.cs
- HwndSourceParameters.cs
- QueryableDataSourceHelper.cs
- MetadataUtil.cs
- DataBoundControlParameterTarget.cs
- BlockUIContainer.cs
- followingsibling.cs
- BigIntegerStorage.cs
- XmlAttributes.cs
- ReadOnlyPermissionSet.cs
- SerializationInfoEnumerator.cs
- WebPartConnectionsConnectVerb.cs
- ColorConverter.cs
- AnimationClock.cs
- PointIndependentAnimationStorage.cs
- ConfigurationValue.cs
- CompilationLock.cs
- StackBuilderSink.cs
- NetNamedPipeSecurityMode.cs
- MergeFilterQuery.cs
- SettingsProviderCollection.cs
- TextRangeSerialization.cs
- SettingsBindableAttribute.cs
- ComponentSerializationService.cs
- smtpconnection.cs
- HttpStreams.cs
- NamespaceQuery.cs
- HtmlTableRow.cs
- EncoderFallback.cs
- TextBox.cs
- SmtpReplyReaderFactory.cs
- ProtocolViolationException.cs
- VersionConverter.cs
- ListViewUpdateEventArgs.cs
- MsmqIntegrationProcessProtocolHandler.cs
- _ServiceNameStore.cs
- RecordsAffectedEventArgs.cs
- XmlNodeWriter.cs
- _IPv4Address.cs
- PersonalizableTypeEntry.cs
- MessageBox.cs
- WebExceptionStatus.cs
- MimeTypePropertyAttribute.cs
- X509Extension.cs
- WebPartCatalogAddVerb.cs
- MessageBox.cs
- UpdatePanelTrigger.cs
- RestHandler.cs
- LinearGradientBrush.cs
- CodeDOMUtility.cs
- ActivityInstance.cs
- TextBoxBase.cs
- PersonalizationState.cs
- KerberosTokenFactoryCredential.cs
- ItemList.cs
- RepeatButtonAutomationPeer.cs
- AttributeEmitter.cs
- AnchoredBlock.cs
- WindowsRichEdit.cs
- DecimalConverter.cs
- CookielessHelper.cs
- Figure.cs
- NetTcpSecurityElement.cs
- Timer.cs
- StylusPoint.cs
- ValidatorUtils.cs
- ServiceAppDomainAssociationProvider.cs
- LocalServiceSecuritySettings.cs
- GridItem.cs
- TargetConverter.cs
- DetailsViewPagerRow.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WebPartDescription.cs
- MenuAdapter.cs
- EqualityComparer.cs
- LedgerEntryCollection.cs