Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / AsyncContentLoadedEventArgs.cs / 1 / AsyncContentLoadedEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: AsyncContentLoadedEventArgs event args class // // History: // 02/04/2004 : Srikanth Koneru created // 11/08/2004 : Micw change bytesRecieved & bytesExpected to percentComplete // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace System.Windows.Automation { ////// AsyncContentLoadedEventArgs event args class /// #if (INTERNAL_COMPILE) internal sealed class AsyncContentLoadedEventArgs : AutomationEventArgs #else public sealed class AsyncContentLoadedEventArgs : AutomationEventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for async content loaded event args. /// /// Flag indicating the state of the content load. /// Indicates percent complete for the content load. public AsyncContentLoadedEventArgs (AsyncContentLoadedState asyncContentState, double percentComplete) : base(AutomationElementIdentifiers.AsyncContentLoadedEvent) { _asyncContentState = asyncContentState; _percentComplete = percentComplete; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// Returns the state of the content load. /// public AsyncContentLoadedState AsyncContentLoadedState { get { return _asyncContentState; } } ////// Returns percent complete for the content load. /// public double PercentComplete { get { return _percentComplete; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AsyncContentLoadedState _asyncContentState; private double _percentComplete; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: AsyncContentLoadedEventArgs event args class // // History: // 02/04/2004 : Srikanth Koneru created // 11/08/2004 : Micw change bytesRecieved & bytesExpected to percentComplete // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace System.Windows.Automation { ////// AsyncContentLoadedEventArgs event args class /// #if (INTERNAL_COMPILE) internal sealed class AsyncContentLoadedEventArgs : AutomationEventArgs #else public sealed class AsyncContentLoadedEventArgs : AutomationEventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for async content loaded event args. /// /// Flag indicating the state of the content load. /// Indicates percent complete for the content load. public AsyncContentLoadedEventArgs (AsyncContentLoadedState asyncContentState, double percentComplete) : base(AutomationElementIdentifiers.AsyncContentLoadedEvent) { _asyncContentState = asyncContentState; _percentComplete = percentComplete; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// Returns the state of the content load. /// public AsyncContentLoadedState AsyncContentLoadedState { get { return _asyncContentState; } } ////// Returns percent complete for the content load. /// public double PercentComplete { get { return _percentComplete; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AsyncContentLoadedState _asyncContentState; private double _percentComplete; #endregion Private Fields } } // 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
- Missing.cs
- RangeBase.cs
- WebEvents.cs
- XmlSchemaSet.cs
- SerialErrors.cs
- SqlCommandSet.cs
- SmtpTransport.cs
- SettingsSection.cs
- MetroSerializationManager.cs
- TextServicesContext.cs
- PropertyKey.cs
- CodeSubDirectoriesCollection.cs
- ResourceAssociationTypeEnd.cs
- ReadContentAsBinaryHelper.cs
- GeometryGroup.cs
- ExtensionFile.cs
- ServerProtocol.cs
- FontWeight.cs
- SecurityAlgorithmSuite.cs
- PathFigure.cs
- GeometryGroup.cs
- CannotUnloadAppDomainException.cs
- BypassElement.cs
- TransactionsSectionGroup.cs
- ConfigurationStrings.cs
- RequestCachingSection.cs
- HttpHandlerAction.cs
- SHA256Managed.cs
- ClientReliableChannelBinder.cs
- ExpressionWriter.cs
- LinqToSqlWrapper.cs
- BindingCollectionElement.cs
- TypedReference.cs
- WindowsSpinner.cs
- DiscoveryServerProtocol.cs
- WebScriptClientGenerator.cs
- TimestampInformation.cs
- Registry.cs
- DataGridGeneralPage.cs
- CmsInterop.cs
- IsolationInterop.cs
- NullRuntimeConfig.cs
- BaseDataBoundControlDesigner.cs
- DoubleCollectionValueSerializer.cs
- EtwTrace.cs
- DescriptionAttribute.cs
- SafeEventLogReadHandle.cs
- OleDbPermission.cs
- SubMenuStyleCollectionEditor.cs
- DataListItem.cs
- DataSourceControlBuilder.cs
- DeflateStream.cs
- WebPartDisplayModeEventArgs.cs
- TextChange.cs
- SmtpFailedRecipientsException.cs
- BindingMAnagerBase.cs
- NativeWrapper.cs
- DataGridTextBox.cs
- SingleObjectCollection.cs
- CrossSiteScriptingValidation.cs
- WarningException.cs
- configsystem.cs
- XMLDiffLoader.cs
- PreservationFileWriter.cs
- SecuritySessionFilter.cs
- DbProviderManifest.cs
- Documentation.cs
- ProcessStartInfo.cs
- BuildProvidersCompiler.cs
- GeometryGroup.cs
- RTLAwareMessageBox.cs
- WindowsScrollBarBits.cs
- InteropExecutor.cs
- Stack.cs
- PathGeometry.cs
- RoutedEvent.cs
- FacetChecker.cs
- ApplicationException.cs
- CompositeDispatchFormatter.cs
- DesignerProperties.cs
- TranslateTransform3D.cs
- ListBoxItemWrapperAutomationPeer.cs
- CompilerState.cs
- ChangeBlockUndoRecord.cs
- XamlTemplateSerializer.cs
- FtpWebRequest.cs
- TextStore.cs
- OdbcConnectionHandle.cs
- _LazyAsyncResult.cs
- ImpersonationContext.cs
- SiteMapSection.cs
- EntityDataSourceContextCreatedEventArgs.cs
- ArgumentException.cs
- invalidudtexception.cs
- BufferBuilder.cs
- DirectoryRootQuery.cs
- BaseProcessProtocolHandler.cs
- DataGridTablesFactory.cs
- FullTrustAssemblyCollection.cs
- SByteStorage.cs