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
- BaseDataBoundControl.cs
- GeneralTransform3D.cs
- ClaimSet.cs
- Span.cs
- ExpressionConverter.cs
- XmlWriterSettings.cs
- TextLine.cs
- NativeMethods.cs
- StylusPointProperties.cs
- DrawingContextDrawingContextWalker.cs
- HtmlElementEventArgs.cs
- ReadOnlyPropertyMetadata.cs
- ToolStripButton.cs
- MenuBindingsEditor.cs
- WebPartVerbCollection.cs
- BoundingRectTracker.cs
- DesignerValidationSummaryAdapter.cs
- XmlnsPrefixAttribute.cs
- SecurityAlgorithmSuite.cs
- TableItemPattern.cs
- TypeSystemHelpers.cs
- TextRunCache.cs
- FixUp.cs
- MenuCommandsChangedEventArgs.cs
- DescendantBaseQuery.cs
- NativeObjectSecurity.cs
- ModuleConfigurationInfo.cs
- DivideByZeroException.cs
- FieldCollectionEditor.cs
- PointCollection.cs
- StandardMenuStripVerb.cs
- SapiRecoContext.cs
- TypeBuilderInstantiation.cs
- DateTimeSerializationSection.cs
- ThemeDirectoryCompiler.cs
- TTSEvent.cs
- TriState.cs
- WebServiceHandler.cs
- XmlDeclaration.cs
- ContextStaticAttribute.cs
- Brush.cs
- ISAPIRuntime.cs
- XmlEntity.cs
- ObjectPropertyMapping.cs
- DataGridSortCommandEventArgs.cs
- Application.cs
- Region.cs
- VisualProxy.cs
- AutomationPatternInfo.cs
- XmlHelper.cs
- XmlText.cs
- DrawingBrush.cs
- SafeRegistryHandle.cs
- PrivacyNoticeElement.cs
- Span.cs
- ProjectionPathSegment.cs
- PeerCredential.cs
- SrgsSemanticInterpretationTag.cs
- XPathMessageFilter.cs
- RouteParameter.cs
- PhotoPrintingIntent.cs
- HostProtectionException.cs
- ToolTip.cs
- AssemblyHash.cs
- ListViewEditEventArgs.cs
- SequentialUshortCollection.cs
- PtsCache.cs
- ListenerElementsCollection.cs
- ByteStreamGeometryContext.cs
- LayoutEditorPart.cs
- DocumentScope.cs
- PenThread.cs
- MetabaseServerConfig.cs
- iisPickupDirectory.cs
- ProtocolException.cs
- Int32KeyFrameCollection.cs
- AutomationElementCollection.cs
- KeyboardNavigation.cs
- ConfigurationValues.cs
- FixedSOMSemanticBox.cs
- MenuItemStyle.cs
- LoginName.cs
- DataGridViewUtilities.cs
- Point3DCollectionValueSerializer.cs
- ShutDownListener.cs
- PrintControllerWithStatusDialog.cs
- RtType.cs
- FrameworkContentElementAutomationPeer.cs
- FixedBufferAttribute.cs
- EtwTrace.cs
- TableLayoutSettingsTypeConverter.cs
- Bitmap.cs
- EdmMember.cs
- ISAPIRuntime.cs
- HttpCapabilitiesEvaluator.cs
- QueryCreatedEventArgs.cs
- Errors.cs
- DrawToolTipEventArgs.cs
- AccessibleObject.cs
- GridViewCancelEditEventArgs.cs