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
- Constraint.cs
- ArgumentsParser.cs
- ProxyAttribute.cs
- IPHostEntry.cs
- WFItemsToSpacerVisibility.cs
- AssociationEndMember.cs
- NavigationPropertyEmitter.cs
- PropertyItem.cs
- SecureConversationVersion.cs
- MediaPlayerState.cs
- CodeDirectiveCollection.cs
- PackageRelationship.cs
- TypeDescriptionProviderAttribute.cs
- SingleResultAttribute.cs
- CodeAccessSecurityEngine.cs
- DataTableReader.cs
- DependentTransaction.cs
- BrowserCapabilitiesFactoryBase.cs
- TypeDelegator.cs
- BypassElementCollection.cs
- PackageDigitalSignature.cs
- FormViewUpdateEventArgs.cs
- ResponseStream.cs
- VisualBasicSettingsHandler.cs
- NavigationFailedEventArgs.cs
- OSFeature.cs
- TextTreeTextNode.cs
- EpmCustomContentWriterNodeData.cs
- PlanCompiler.cs
- Quaternion.cs
- AuthenticationServiceManager.cs
- MetadataItemEmitter.cs
- WithStatement.cs
- _NegoState.cs
- SamlDoNotCacheCondition.cs
- AutomationProperty.cs
- PropertiesTab.cs
- DiagnosticTraceSource.cs
- XmlNodeReader.cs
- ControlLocalizer.cs
- ITreeGenerator.cs
- BadImageFormatException.cs
- DataGridGeneralPage.cs
- WindowAutomationPeer.cs
- HighlightVisual.cs
- remotingproxy.cs
- GridProviderWrapper.cs
- DataIdProcessor.cs
- ACE.cs
- Faults.cs
- CompilationAssemblyInstallComponent.cs
- WorkflowDesigner.cs
- ArithmeticException.cs
- Task.cs
- ReadOnlyMetadataCollection.cs
- QueryRewriter.cs
- SqlCacheDependencyDatabaseCollection.cs
- OuterGlowBitmapEffect.cs
- AccessControlEntry.cs
- ControlCachePolicy.cs
- indexingfiltermarshaler.cs
- ParseHttpDate.cs
- PropertyBuilder.cs
- TextDecorationCollection.cs
- UnsafeNativeMethods.cs
- MDIWindowDialog.cs
- DataGridCell.cs
- SqlInfoMessageEvent.cs
- PropertyRef.cs
- Function.cs
- DynamicRouteExpression.cs
- IntegerValidator.cs
- TemplatePropertyEntry.cs
- SecUtil.cs
- CreateInstanceBinder.cs
- MobileFormsAuthentication.cs
- ElementsClipboardData.cs
- XmlCustomFormatter.cs
- TextSimpleMarkerProperties.cs
- XslTransform.cs
- GridToolTip.cs
- CodeDirectiveCollection.cs
- SafeRightsManagementEnvironmentHandle.cs
- AsymmetricSignatureDeformatter.cs
- ObjectComplexPropertyMapping.cs
- SqlNodeTypeOperators.cs
- CallSite.cs
- AtomicFile.cs
- GuidelineSet.cs
- TextBlock.cs
- RuleDefinitions.cs
- EventHandlerList.cs
- MailMessageEventArgs.cs
- Camera.cs
- StyleCollection.cs
- SymbolTable.cs
- MenuItemAutomationPeer.cs
- _Rfc2616CacheValidators.cs
- ControlPropertyNameConverter.cs
- RSAPKCS1SignatureDeformatter.cs