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
- Validator.cs
- Application.cs
- WindowsTooltip.cs
- EntityContainerAssociationSet.cs
- LinkTarget.cs
- StylusPointPropertyInfoDefaults.cs
- RepeatBehaviorConverter.cs
- XmlHierarchicalDataSourceView.cs
- OdbcFactory.cs
- ConnectionPoint.cs
- DataFormats.cs
- CreateUserErrorEventArgs.cs
- Compiler.cs
- XamlPathDataSerializer.cs
- _FtpDataStream.cs
- GridView.cs
- _FixedSizeReader.cs
- SetStoryboardSpeedRatio.cs
- GacUtil.cs
- HttpBufferlessInputStream.cs
- NullRuntimeConfig.cs
- CapabilitiesUse.cs
- _TimerThread.cs
- XmlQualifiedNameTest.cs
- DataGridAutoFormatDialog.cs
- NullableIntMinMaxAggregationOperator.cs
- _DisconnectOverlappedAsyncResult.cs
- TemplateKeyConverter.cs
- ListViewContainer.cs
- ActivitySurrogate.cs
- PropertySet.cs
- JsonReader.cs
- ToolStripSplitButton.cs
- DataGridColumnCollection.cs
- UndirectedGraph.cs
- RegexReplacement.cs
- latinshape.cs
- ExistsInCollection.cs
- mansign.cs
- AuthenticatedStream.cs
- WebDescriptionAttribute.cs
- ZipPackage.cs
- VariableAction.cs
- HttpFileCollection.cs
- OleDbStruct.cs
- webclient.cs
- RealizationDrawingContextWalker.cs
- FilteredXmlReader.cs
- PathTooLongException.cs
- DetectEofStream.cs
- Exceptions.cs
- WindowsEditBoxRange.cs
- DropShadowBitmapEffect.cs
- HasCopySemanticsAttribute.cs
- WebScriptServiceHost.cs
- ViewStateException.cs
- RichTextBox.cs
- Freezable.cs
- QueryCorrelationInitializer.cs
- Clipboard.cs
- TextTreeTextNode.cs
- XmlEntityReference.cs
- ButtonAutomationPeer.cs
- ModelItemDictionary.cs
- TraceContext.cs
- XmlAttribute.cs
- MexHttpBindingCollectionElement.cs
- SubpageParaClient.cs
- SqlGenerator.cs
- WebPartZone.cs
- ThicknessAnimation.cs
- CacheForPrimitiveTypes.cs
- VirtualPath.cs
- CodeDirectoryCompiler.cs
- AssociationSetMetadata.cs
- Pts.cs
- SyndicationItem.cs
- QueryPageSettingsEventArgs.cs
- MessagePropertyAttribute.cs
- HostingEnvironmentSection.cs
- SponsorHelper.cs
- ChannelBinding.cs
- EFTableProvider.cs
- FixedSOMTable.cs
- EndpointAddressElementBase.cs
- Font.cs
- Native.cs
- Permission.cs
- DatePickerAutomationPeer.cs
- StagingAreaInputItem.cs
- HashStream.cs
- GeneratedView.cs
- WizardStepBase.cs
- ListenerAdapterBase.cs
- FixedTextSelectionProcessor.cs
- DispatchWrapper.cs
- XPathExpr.cs
- HybridDictionary.cs
- RadioButtonList.cs
- EntityContainer.cs