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
- BaseServiceProvider.cs
- ColorConvertedBitmap.cs
- OrderablePartitioner.cs
- SqlServer2KCompatibilityCheck.cs
- RegexWorker.cs
- MailMessageEventArgs.cs
- TimeoutHelper.cs
- HandledMouseEvent.cs
- PenThreadWorker.cs
- HttpResponseHeader.cs
- ServiceReference.cs
- HttpRequest.cs
- RC2.cs
- DetailsViewInsertEventArgs.cs
- UniqueSet.cs
- HttpCachePolicyBase.cs
- MultipleViewProviderWrapper.cs
- KerberosSecurityTokenAuthenticator.cs
- TemplateControlBuildProvider.cs
- RepeatButtonAutomationPeer.cs
- SettingsSavedEventArgs.cs
- RemotingSurrogateSelector.cs
- XmlSchemaFacet.cs
- Attachment.cs
- MaterialGroup.cs
- WarningException.cs
- KeyboardEventArgs.cs
- SafeEventHandle.cs
- CompositeControl.cs
- ProviderUtil.cs
- RunClient.cs
- ZoneIdentityPermission.cs
- ImageList.cs
- DefaultHttpHandler.cs
- Part.cs
- UInt32Storage.cs
- mediaclock.cs
- Misc.cs
- MdiWindowListItemConverter.cs
- OpCodes.cs
- ZipIOExtraFieldElement.cs
- CodeTypeReferenceExpression.cs
- FontConverter.cs
- DebuggerAttributes.cs
- NavigationExpr.cs
- ListViewHitTestInfo.cs
- GridViewPageEventArgs.cs
- TextureBrush.cs
- StructuralType.cs
- BinaryReader.cs
- ObjectManager.cs
- lengthconverter.cs
- ResXResourceReader.cs
- WebPartDisplayMode.cs
- ProcessModule.cs
- WinFormsComponentEditor.cs
- ContextBase.cs
- COAUTHIDENTITY.cs
- TableCellCollection.cs
- HttpServerVarsCollection.cs
- SrgsItemList.cs
- WebPartEditorApplyVerb.cs
- infer.cs
- ZipPackagePart.cs
- HttpWebResponse.cs
- CollectionAdapters.cs
- MetadataItem_Static.cs
- BindingCollection.cs
- Table.cs
- CompilerParameters.cs
- InstanceDataCollection.cs
- CorrelationManager.cs
- EntityKey.cs
- ProxyFragment.cs
- WorkflowInstanceSuspendedRecord.cs
- FixedSOMPageElement.cs
- DeferredTextReference.cs
- XsdDataContractImporter.cs
- WmlPhoneCallAdapter.cs
- PanelContainerDesigner.cs
- SmiRecordBuffer.cs
- CngAlgorithm.cs
- BinaryUtilClasses.cs
- GeneralTransform3D.cs
- ColumnBinding.cs
- TextViewDesigner.cs
- ClientSettingsSection.cs
- BulletChrome.cs
- BindingNavigator.cs
- bindurihelper.cs
- IntSumAggregationOperator.cs
- XPathExpr.cs
- WindowsButton.cs
- HttpCachePolicyWrapper.cs
- InternalConfigRoot.cs
- DeleteStoreRequest.cs
- ELinqQueryState.cs
- MethodMessage.cs
- ListViewItem.cs
- ResolveNameEventArgs.cs