Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / 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 : [....] 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
- NonParentingControl.cs
- Automation.cs
- ResourceProviderFactory.cs
- X509Utils.cs
- SoapServerMethod.cs
- UnknownWrapper.cs
- UserPersonalizationStateInfo.cs
- SerializationHelper.cs
- TrustManagerMoreInformation.cs
- XPathQilFactory.cs
- coordinatorfactory.cs
- QueryOutputWriter.cs
- EventDescriptorCollection.cs
- ResourceDisplayNameAttribute.cs
- Stack.cs
- SqlClientWrapperSmiStream.cs
- Point4DValueSerializer.cs
- ValueCollectionParameterReader.cs
- UnsafeNativeMethods.cs
- Memoizer.cs
- DateRangeEvent.cs
- EntityDataSourceDataSelectionPanel.cs
- Types.cs
- ColorMap.cs
- PerformanceCounterManager.cs
- LoadWorkflowAsyncResult.cs
- SqlTriggerContext.cs
- _HTTPDateParse.cs
- TiffBitmapDecoder.cs
- PhysicalOps.cs
- CodeAttachEventStatement.cs
- ColorTranslator.cs
- MimeWriter.cs
- JsonReader.cs
- QuaternionRotation3D.cs
- LinkUtilities.cs
- DefaultWorkflowTransactionService.cs
- DataContractSerializer.cs
- ValidationSummary.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ZipIOLocalFileBlock.cs
- RepeaterItem.cs
- NotifyInputEventArgs.cs
- MetabaseSettings.cs
- ChangePasswordAutoFormat.cs
- WebPartRestoreVerb.cs
- WebMessageBodyStyleHelper.cs
- FrameDimension.cs
- RuleRef.cs
- AdapterDictionary.cs
- ColumnHeaderCollectionEditor.cs
- GridItemProviderWrapper.cs
- SqlClientWrapperSmiStream.cs
- Setter.cs
- RepeaterItemEventArgs.cs
- HttpModuleCollection.cs
- ListBoxAutomationPeer.cs
- DiscoveryUtility.cs
- FilteredAttributeCollection.cs
- CreateRefExpr.cs
- DataControlImageButton.cs
- StreamWithDictionary.cs
- PreservationFileReader.cs
- BaseCollection.cs
- AttachedPropertyInfo.cs
- XmlText.cs
- NextPreviousPagerField.cs
- BaseParser.cs
- Quad.cs
- ImageListUtils.cs
- WindowHelperService.cs
- SetterBase.cs
- DataGridColumnDropSeparator.cs
- EdmFunction.cs
- XPathExpr.cs
- ISAPIApplicationHost.cs
- UserControlCodeDomTreeGenerator.cs
- BasicCommandTreeVisitor.cs
- XmlQueryContext.cs
- AuthenticationException.cs
- FlowNode.cs
- LoginName.cs
- DiffuseMaterial.cs
- figurelength.cs
- StyleXamlTreeBuilder.cs
- VectorCollectionConverter.cs
- NullRuntimeConfig.cs
- RelationHandler.cs
- QilGenerator.cs
- Paragraph.cs
- Math.cs
- TreeNodeBinding.cs
- PrefixHandle.cs
- GeometryDrawing.cs
- DoubleAnimation.cs
- SettingsContext.cs
- ContractInstanceProvider.cs
- XamlRtfConverter.cs
- ValidationRule.cs
- XPathPatternParser.cs