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
- EntityDataSourceView.cs
- CurrencyManager.cs
- InfocardInteractiveChannelInitializer.cs
- XD.cs
- ValueTypeFixupInfo.cs
- ScrollChrome.cs
- NonPrimarySelectionGlyph.cs
- RawTextInputReport.cs
- Vector3D.cs
- COM2PropertyDescriptor.cs
- RectAnimation.cs
- SapiRecoContext.cs
- Restrictions.cs
- ZipIOLocalFileDataDescriptor.cs
- MetabaseServerConfig.cs
- RemotingClientProxy.cs
- UriSection.cs
- CommandHelper.cs
- DataAdapter.cs
- Int32Storage.cs
- shaperfactoryquerycacheentry.cs
- SuppressMessageAttribute.cs
- TextParagraphView.cs
- MouseWheelEventArgs.cs
- KeyedHashAlgorithm.cs
- XmlParserContext.cs
- StaticTextPointer.cs
- RenamedEventArgs.cs
- WinCategoryAttribute.cs
- WindowsFormsDesignerOptionService.cs
- Soap.cs
- EventLogLink.cs
- CodeIterationStatement.cs
- ReflectionUtil.cs
- ToolBarButton.cs
- MenuItemCollection.cs
- NullableDecimalAverageAggregationOperator.cs
- OracleTimeSpan.cs
- XmlSignatureProperties.cs
- MultiView.cs
- Configuration.cs
- LocatorGroup.cs
- JournalNavigationScope.cs
- ManifestResourceInfo.cs
- NavigationHelper.cs
- DataProtectionSecurityStateEncoder.cs
- HandleExceptionArgs.cs
- TagMapCollection.cs
- OdbcRowUpdatingEvent.cs
- HtmlTextArea.cs
- MultiPageTextView.cs
- GenerateHelper.cs
- DefaultTextStore.cs
- XamlBuildTaskServices.cs
- FlowDocumentReaderAutomationPeer.cs
- AlphaSortedEnumConverter.cs
- AlphabeticalEnumConverter.cs
- SafeHandles.cs
- DbConnectionPoolGroupProviderInfo.cs
- SqlDesignerDataSourceView.cs
- HWStack.cs
- SrgsDocumentParser.cs
- Label.cs
- EditingCommands.cs
- UserControl.cs
- FragmentQuery.cs
- WsdlParser.cs
- RenderingEventArgs.cs
- NonVisualControlAttribute.cs
- DataTableReader.cs
- TreeNodeCollection.cs
- CookielessHelper.cs
- BuildManagerHost.cs
- SqlInfoMessageEvent.cs
- UITypeEditor.cs
- ListBoxDesigner.cs
- FormatConvertedBitmap.cs
- DirtyTextRange.cs
- TableLayoutStyleCollection.cs
- InputScopeManager.cs
- MD5CryptoServiceProvider.cs
- SubqueryRules.cs
- PeerEndPoint.cs
- Int32RectValueSerializer.cs
- SSmlParser.cs
- DispatcherOperation.cs
- GeneralTransform3D.cs
- TransactionManager.cs
- InputBuffer.cs
- FormsAuthenticationModule.cs
- BinaryEditor.cs
- DefinitionUpdate.cs
- RuntimeHandles.cs
- DefaultCommandConverter.cs
- ProcessInfo.cs
- SourceSwitch.cs
- GridViewUpdatedEventArgs.cs
- ImageDrawing.cs
- ResourceIDHelper.cs
- TimerElapsedEvenArgs.cs