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
- CorrelationManager.cs
- Baml2006ReaderContext.cs
- OutputCacheSection.cs
- HostSecurityManager.cs
- METAHEADER.cs
- _MultipleConnectAsync.cs
- LongValidatorAttribute.cs
- DeploymentExceptionMapper.cs
- InheritanceContextHelper.cs
- NestedContainer.cs
- ScriptModule.cs
- GeometryGroup.cs
- Inline.cs
- SizeChangedEventArgs.cs
- RowToParametersTransformer.cs
- HttpApplicationFactory.cs
- MenuAutomationPeer.cs
- FrameworkElement.cs
- EncoderBestFitFallback.cs
- ForceCopyBuildProvider.cs
- InternalTypeHelper.cs
- TableColumn.cs
- StringConcat.cs
- DataBindEngine.cs
- newitemfactory.cs
- Positioning.cs
- _AuthenticationState.cs
- Enumerable.cs
- BitmapData.cs
- ListViewItem.cs
- UnionQueryOperator.cs
- CultureTableRecord.cs
- InputLangChangeRequestEvent.cs
- PolyLineSegment.cs
- CryptographicAttribute.cs
- ViewStateException.cs
- DataKey.cs
- EntityCommandExecutionException.cs
- Rijndael.cs
- DataColumnChangeEvent.cs
- VersionedStream.cs
- ProviderMetadata.cs
- EncoderFallback.cs
- figurelengthconverter.cs
- SymbolType.cs
- ConfigurationManagerHelper.cs
- OutputCacheSettings.cs
- TemplateComponentConnector.cs
- SQLByte.cs
- TickBar.cs
- AdornedElementPlaceholder.cs
- Int64KeyFrameCollection.cs
- ProcessHostServerConfig.cs
- Int32Converter.cs
- CopyAction.cs
- RawAppCommandInputReport.cs
- ResourceFallbackManager.cs
- GradientBrush.cs
- VideoDrawing.cs
- BamlResourceContent.cs
- SecurityRuntime.cs
- ObjectHandle.cs
- ListViewGroupConverter.cs
- InternalEnumValidator.cs
- JobStaple.cs
- FillErrorEventArgs.cs
- MethodBuilderInstantiation.cs
- NativeMethods.cs
- XmlParserContext.cs
- BinaryReader.cs
- FileUpload.cs
- SelectedDatesCollection.cs
- GiveFeedbackEvent.cs
- PageSettings.cs
- ResXResourceWriter.cs
- DoubleAverageAggregationOperator.cs
- SqlVersion.cs
- SerializationEventsCache.cs
- BitmapMetadataBlob.cs
- XpsResourceDictionary.cs
- InternalConfigHost.cs
- filewebrequest.cs
- TimeIntervalCollection.cs
- SHA256.cs
- ToolStripItem.cs
- CompilerScopeManager.cs
- TimersDescriptionAttribute.cs
- MetadataConversionError.cs
- TextEffectResolver.cs
- ConstrainedDataObject.cs
- DaylightTime.cs
- GeneralTransformGroup.cs
- MouseOverProperty.cs
- GB18030Encoding.cs
- StreamReader.cs
- DataTableMapping.cs
- SafeNativeMethodsMilCoreApi.cs
- WindowsPrincipal.cs
- SettingsProperty.cs
- SplitterCancelEvent.cs