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
- FileDialogPermission.cs
- ClientApiGenerator.cs
- MdiWindowListItemConverter.cs
- CategoryNameCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- precedingsibling.cs
- SystemIPGlobalProperties.cs
- DBCommandBuilder.cs
- DataTransferEventArgs.cs
- WebPermission.cs
- DependencyPropertyAttribute.cs
- WebPartRestoreVerb.cs
- PointLightBase.cs
- NotImplementedException.cs
- PropertyGridEditorPart.cs
- PropertyCondition.cs
- BindingNavigator.cs
- CodeIterationStatement.cs
- PtsPage.cs
- WebEventCodes.cs
- JoinSymbol.cs
- ModelUIElement3D.cs
- CngUIPolicy.cs
- AdapterDictionary.cs
- DrawingGroup.cs
- ResolveInfo.cs
- SplayTreeNode.cs
- LogLogRecordHeader.cs
- Line.cs
- PropertyDescriptorComparer.cs
- ListViewEditEventArgs.cs
- OracleDataAdapter.cs
- SystemIcmpV4Statistics.cs
- CodeTypeConstructor.cs
- X509ServiceCertificateAuthenticationElement.cs
- HtmlWindow.cs
- DataListItem.cs
- InternalPolicyElement.cs
- SafeNativeMethodsOther.cs
- Debugger.cs
- IImplicitResourceProvider.cs
- xdrvalidator.cs
- PostBackTrigger.cs
- UriWriter.cs
- Visitors.cs
- ThousandthOfEmRealDoubles.cs
- ForEachAction.cs
- TrackingParticipant.cs
- TextTreeInsertElementUndoUnit.cs
- StylusDevice.cs
- ColorAnimation.cs
- TabOrder.cs
- OTFRasterizer.cs
- PeerNameRegistration.cs
- smtppermission.cs
- ManagementEventWatcher.cs
- ComPlusTypeLoader.cs
- NameValueConfigurationElement.cs
- RectConverter.cs
- StringReader.cs
- ClientScriptManagerWrapper.cs
- DetailsViewDesigner.cs
- GeneratedContractType.cs
- Int32EqualityComparer.cs
- BitmapEffectInput.cs
- UnsafeNativeMethods.cs
- MobileCategoryAttribute.cs
- Vector3DAnimation.cs
- WebPartDescriptionCollection.cs
- XsltException.cs
- DataGridState.cs
- ProtocolViolationException.cs
- DiagnosticSection.cs
- validation.cs
- Application.cs
- AggregatePushdown.cs
- CallbackDebugBehavior.cs
- VisualStateManager.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- EditorBrowsableAttribute.cs
- MenuBindingsEditor.cs
- ReferenceEqualityComparer.cs
- ObjectReaderCompiler.cs
- ToolStripItemEventArgs.cs
- wmiprovider.cs
- SegmentInfo.cs
- Polygon.cs
- UserControlBuildProvider.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- OdbcConnectionString.cs
- Image.cs
- SortedList.cs
- PagedControl.cs
- SqlDependency.cs
- DesignerDataTable.cs
- XmlCharCheckingWriter.cs
- SafeEventLogWriteHandle.cs
- AppliesToBehaviorDecisionTable.cs
- PenContext.cs
- NotifyParentPropertyAttribute.cs