Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- PointValueSerializer.cs
- Span.cs
- InstanceHandleReference.cs
- Model3D.cs
- XhtmlTextWriter.cs
- TextBoxLine.cs
- AssociationEndMember.cs
- SEHException.cs
- StateManagedCollection.cs
- DataGridAutomationPeer.cs
- ValueConversionAttribute.cs
- StringToken.cs
- Int32CollectionConverter.cs
- XmlObjectSerializer.cs
- MethodBody.cs
- ProcessModuleCollection.cs
- CodeCommentStatementCollection.cs
- XPathNavigatorReader.cs
- PeerToPeerException.cs
- CollectionChangeEventArgs.cs
- ScriptRegistrationManager.cs
- UrlMappingsSection.cs
- Rect3D.cs
- InputReferenceExpression.cs
- HwndAppCommandInputProvider.cs
- ElementAtQueryOperator.cs
- UInt64Storage.cs
- DelayLoadType.cs
- DataFieldCollectionEditor.cs
- ToolStripDesigner.cs
- DetailsViewInsertedEventArgs.cs
- Triplet.cs
- SplitterPanel.cs
- ProfilePropertySettingsCollection.cs
- SimpleType.cs
- Matrix3D.cs
- CatalogPartCollection.cs
- FormViewDeleteEventArgs.cs
- XmlWriter.cs
- ServiceModelSecurityTokenRequirement.cs
- SoundPlayerAction.cs
- EntityStoreSchemaGenerator.cs
- SkipQueryOptionExpression.cs
- GenericIdentity.cs
- OrderedDictionaryStateHelper.cs
- HostedController.cs
- XmlSchemaIdentityConstraint.cs
- DbProviderConfigurationHandler.cs
- PersonalizablePropertyEntry.cs
- SchemaImporterExtensionElement.cs
- PocoEntityKeyStrategy.cs
- SqlGatherConsumedAliases.cs
- GridViewCancelEditEventArgs.cs
- TextFormatter.cs
- BitmapInitialize.cs
- SynchronizedMessageSource.cs
- ScrollEvent.cs
- Guid.cs
- Rule.cs
- ListParagraph.cs
- DBSqlParserColumnCollection.cs
- validation.cs
- XmlTextReaderImpl.cs
- RemoteWebConfigurationHostServer.cs
- panel.cs
- ObjectConverter.cs
- IgnorePropertiesAttribute.cs
- WhereaboutsReader.cs
- SqlClientWrapperSmiStreamChars.cs
- WebEncodingValidatorAttribute.cs
- OuterGlowBitmapEffect.cs
- QilParameter.cs
- UIInitializationException.cs
- PageRanges.cs
- BufferedGraphicsManager.cs
- SoapIgnoreAttribute.cs
- EntitySqlQueryBuilder.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ReadWriteControlDesigner.cs
- CodeDefaultValueExpression.cs
- EventLogger.cs
- AnnotationObservableCollection.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- Base64Encoder.cs
- BuildProviderUtils.cs
- PolyBezierSegment.cs
- SystemIPInterfaceStatistics.cs
- DeviceContexts.cs
- ContentPlaceHolderDesigner.cs
- TraceContextEventArgs.cs
- WindowsHyperlink.cs
- IpcClientManager.cs
- CodeMemberMethod.cs
- CodeLinePragma.cs
- XslCompiledTransform.cs
- PreProcessor.cs
- GuidelineSet.cs
- InvokePattern.cs
- CrossSiteScriptingValidation.cs
- CommonDialog.cs