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
- NavigatorInvalidBodyAccessException.cs
- ReadOnlyState.cs
- NotifyInputEventArgs.cs
- SelectedDatesCollection.cs
- BamlRecords.cs
- UserMapPath.cs
- ColumnMapVisitor.cs
- EncodingStreamWrapper.cs
- EnvironmentPermission.cs
- ButtonField.cs
- DurableTimerExtension.cs
- IndicFontClient.cs
- QueryGeneratorBase.cs
- ComponentResourceKey.cs
- XamlClipboardData.cs
- BitmapEffectRenderDataResource.cs
- HostingPreferredMapPath.cs
- SqlBulkCopyColumnMapping.cs
- NullableIntMinMaxAggregationOperator.cs
- XhtmlConformanceSection.cs
- QueryOperator.cs
- TabItemWrapperAutomationPeer.cs
- TrustManagerPromptUI.cs
- PageCatalogPart.cs
- WebContext.cs
- TableLayout.cs
- CodeArrayCreateExpression.cs
- FixedSOMLineCollection.cs
- LifetimeServices.cs
- ProxyFragment.cs
- Subset.cs
- DesignerTextBoxAdapter.cs
- Literal.cs
- ComplexObject.cs
- HttpResponseInternalBase.cs
- LineUtil.cs
- ObjectDataSourceMethodEventArgs.cs
- TraceSection.cs
- XPathDocumentBuilder.cs
- EdmComplexPropertyAttribute.cs
- SqlInternalConnectionSmi.cs
- OlePropertyStructs.cs
- SafeLocalMemHandle.cs
- CodeValidator.cs
- StylusCollection.cs
- TextOptionsInternal.cs
- FamilyCollection.cs
- MultipartContentParser.cs
- StreamWriter.cs
- StrongNameUtility.cs
- LateBoundBitmapDecoder.cs
- DnsPermission.cs
- QilGeneratorEnv.cs
- IPipelineRuntime.cs
- OptimizedTemplateContent.cs
- HwndAppCommandInputProvider.cs
- PrintControllerWithStatusDialog.cs
- UnmanagedMarshal.cs
- EntityDataSource.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- FileFormatException.cs
- OleDbRowUpdatedEvent.cs
- DeviceContext.cs
- AutomationPeer.cs
- WebServiceHandlerFactory.cs
- StructuredTypeEmitter.cs
- TrustLevelCollection.cs
- EntityParameter.cs
- TaskHelper.cs
- ColorTransform.cs
- PropertyRef.cs
- FrameworkElement.cs
- ZipIOCentralDirectoryBlock.cs
- ImageCodecInfo.cs
- UserControl.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PropertyNames.cs
- PrimitiveCodeDomSerializer.cs
- AdCreatedEventArgs.cs
- AbandonedMutexException.cs
- StaticFileHandler.cs
- ComboBoxItem.cs
- HierarchicalDataTemplate.cs
- formatter.cs
- CacheVirtualItemsEvent.cs
- PointLightBase.cs
- UIElementCollection.cs
- GeneralTransformGroup.cs
- TcpConnectionPoolSettings.cs
- StandardMenuStripVerb.cs
- SafeRightsManagementPubHandle.cs
- HtmlControl.cs
- Task.cs
- CalendarDateRangeChangingEventArgs.cs
- DeferredElementTreeState.cs
- FastPropertyAccessor.cs
- XmlTypeMapping.cs
- TypeConverters.cs
- RootProfilePropertySettingsCollection.cs
- Canvas.cs