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
- FreeFormPanel.cs
- TraceHandler.cs
- AspNetCompatibilityRequirementsAttribute.cs
- ConnectionStringsExpressionBuilder.cs
- ChineseLunisolarCalendar.cs
- Keyboard.cs
- ReversePositionQuery.cs
- LayoutTable.cs
- URI.cs
- ApplicationDirectoryMembershipCondition.cs
- MonikerUtility.cs
- SID.cs
- VectorCollectionConverter.cs
- TrackBar.cs
- RotationValidation.cs
- BackgroundFormatInfo.cs
- _NegoStream.cs
- ImageMap.cs
- PageDeviceFont.cs
- ConnectionPoint.cs
- XsdDataContractExporter.cs
- PngBitmapDecoder.cs
- Switch.cs
- ComplusEndpointConfigContainer.cs
- ArglessEventHandlerProxy.cs
- NetworkInformationException.cs
- BamlTreeUpdater.cs
- ThemeDictionaryExtension.cs
- XPathAncestorIterator.cs
- ScrollViewer.cs
- GridItemCollection.cs
- TreeViewItem.cs
- DocumentPageViewAutomationPeer.cs
- BitmapDownload.cs
- ScriptResourceHandler.cs
- ImpersonateTokenRef.cs
- NativeMethods.cs
- SiteOfOriginContainer.cs
- FullTrustAssemblyCollection.cs
- AttachmentCollection.cs
- ReversePositionQuery.cs
- AnnotationComponentManager.cs
- ListViewItemSelectionChangedEvent.cs
- CompilerScopeManager.cs
- PeerNodeAddress.cs
- MailSettingsSection.cs
- DataStreamFromComStream.cs
- DataSetMappper.cs
- ToolStripProgressBar.cs
- ProviderConnectionPoint.cs
- SafeFileMappingHandle.cs
- EdmRelationshipRoleAttribute.cs
- UdpDuplexChannel.cs
- MonthChangedEventArgs.cs
- ExpressionBindings.cs
- ImageListStreamer.cs
- StandardToolWindows.cs
- _UriTypeConverter.cs
- TimelineGroup.cs
- PersonalizationStateQuery.cs
- TreeView.cs
- CompilationRelaxations.cs
- peernodestatemanager.cs
- IndentTextWriter.cs
- RelationshipEnd.cs
- IsolationInterop.cs
- Soap.cs
- BindToObject.cs
- ServicePoint.cs
- VectorCollection.cs
- Vector3DCollectionConverter.cs
- Type.cs
- MediaTimeline.cs
- TypedDataSourceCodeGenerator.cs
- ISO2022Encoding.cs
- ReadOnlyTernaryTree.cs
- DesignerAutoFormat.cs
- SchemaType.cs
- ServiceHostingEnvironmentSection.cs
- TemplateBindingExpressionConverter.cs
- ValidationPropertyAttribute.cs
- StrongTypingException.cs
- Icon.cs
- SecurityDescriptor.cs
- Parameter.cs
- shaperfactory.cs
- XmlSchemaElement.cs
- ModelChangedEventArgsImpl.cs
- XmlCDATASection.cs
- GridViewRowCollection.cs
- ToolboxItemAttribute.cs
- SqlRemoveConstantOrderBy.cs
- ISFClipboardData.cs
- autovalidator.cs
- GeneralTransform2DTo3D.cs
- TreeViewItem.cs
- Substitution.cs
- ListViewInsertionMark.cs
- OleDbFactory.cs
- UnsafeNativeMethodsCLR.cs