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
- diagnosticsswitches.cs
- UInt16Storage.cs
- SelectionWordBreaker.cs
- PauseStoryboard.cs
- AlternateViewCollection.cs
- DataGridParentRows.cs
- Module.cs
- ZipIOCentralDirectoryFileHeader.cs
- BreakRecordTable.cs
- BrowserCapabilitiesCompiler.cs
- SimpleLine.cs
- Link.cs
- ProtocolElementCollection.cs
- HttpCachePolicy.cs
- Serializer.cs
- HtmlAnchor.cs
- Rotation3DKeyFrameCollection.cs
- ReflectionTypeLoadException.cs
- ComponentResourceManager.cs
- PreviewPageInfo.cs
- CallbackDebugElement.cs
- FixedSOMContainer.cs
- RepeatBehaviorConverter.cs
- formatter.cs
- TextParagraphView.cs
- Paragraph.cs
- CodeSubDirectory.cs
- Funcletizer.cs
- ArgumentException.cs
- ModelTreeEnumerator.cs
- XmlAttributes.cs
- OSEnvironmentHelper.cs
- DataContractJsonSerializer.cs
- SqlConnectionFactory.cs
- ScriptControlDescriptor.cs
- PeerEndPoint.cs
- ETagAttribute.cs
- TcpProcessProtocolHandler.cs
- DefaultEvaluationContext.cs
- EventArgs.cs
- DataComponentMethodGenerator.cs
- TraceHandler.cs
- ClientScriptManager.cs
- ArrayTypeMismatchException.cs
- HotCommands.cs
- DisplayNameAttribute.cs
- FontDialog.cs
- MatrixCamera.cs
- XsltFunctions.cs
- ConfigXmlSignificantWhitespace.cs
- WindowsScrollBarBits.cs
- XmlValueConverter.cs
- Set.cs
- Style.cs
- FixedSOMTextRun.cs
- SelectorItemAutomationPeer.cs
- ExtentCqlBlock.cs
- SchemaMapping.cs
- SortKey.cs
- FormsAuthenticationEventArgs.cs
- SerializationInfo.cs
- ImplicitInputBrush.cs
- SwitchAttribute.cs
- ServiceObjectContainer.cs
- XmlLoader.cs
- ScriptControlManager.cs
- BaseTransportHeaders.cs
- Rotation3DAnimationBase.cs
- SHA1.cs
- MaskDescriptor.cs
- StateManagedCollection.cs
- TemplateControlCodeDomTreeGenerator.cs
- Classification.cs
- PrintDocument.cs
- CmsInterop.cs
- InstanceCreationEditor.cs
- PersonalizationState.cs
- RemoteWebConfigurationHostStream.cs
- XmlHierarchicalDataSourceView.cs
- ConfigurationStrings.cs
- Part.cs
- CodeDefaultValueExpression.cs
- LoadedEvent.cs
- _FtpControlStream.cs
- PropertyRecord.cs
- RectIndependentAnimationStorage.cs
- IApplicationTrustManager.cs
- SelectionUIHandler.cs
- CultureSpecificCharacterBufferRange.cs
- SwitchAttribute.cs
- SecurityProtocolFactory.cs
- CqlBlock.cs
- CellParagraph.cs
- EntryWrittenEventArgs.cs
- BinaryUtilClasses.cs
- TextWriter.cs
- Quaternion.cs
- ApplicationFileParser.cs
- SerialStream.cs
- DefaultIfEmptyQueryOperator.cs