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
- SQLResource.cs
- BamlMapTable.cs
- LicenseException.cs
- TextStore.cs
- PageEventArgs.cs
- DiscreteKeyFrames.cs
- HierarchicalDataBoundControlAdapter.cs
- TreeView.cs
- FactoryId.cs
- CacheEntry.cs
- LoadedOrUnloadedOperation.cs
- PerfCounters.cs
- MsmqInputMessagePool.cs
- DiscoveryClientChannelFactory.cs
- NameObjectCollectionBase.cs
- TextTreeUndoUnit.cs
- InstanceValue.cs
- HttpModuleAction.cs
- WindowsGraphics2.cs
- MissingManifestResourceException.cs
- DataContractJsonSerializerOperationFormatter.cs
- PrimitiveXmlSerializers.cs
- PagedDataSource.cs
- CodeGen.cs
- DataGridViewRowConverter.cs
- ACE.cs
- WebPartVerbCollection.cs
- RemoveStoryboard.cs
- SafeReversePInvokeHandle.cs
- BufferedGraphicsContext.cs
- PartitionResolver.cs
- Rect.cs
- TcpClientChannel.cs
- XmlSerializerFactory.cs
- HeaderedContentControl.cs
- Int64.cs
- GlyphCollection.cs
- NumberSubstitution.cs
- HeaderUtility.cs
- InvalidProgramException.cs
- OdbcRowUpdatingEvent.cs
- ImpersonateTokenRef.cs
- StyleModeStack.cs
- Errors.cs
- StyleCollectionEditor.cs
- RuleDefinitions.cs
- BinaryParser.cs
- DllNotFoundException.cs
- FixedTextBuilder.cs
- InstanceDataCollection.cs
- DocumentPage.cs
- MetadataArtifactLoaderComposite.cs
- FontStyleConverter.cs
- ErrorHandler.cs
- SizeChangedInfo.cs
- ListViewItem.cs
- CatchDesigner.xaml.cs
- AssemblyNameProxy.cs
- SHA512Managed.cs
- FileVersion.cs
- ObjectQueryState.cs
- oledbconnectionstring.cs
- GlyphRunDrawing.cs
- CommandPlan.cs
- DataListItem.cs
- TransactionScope.cs
- RawStylusActions.cs
- ReadOnlyDataSourceView.cs
- SystemIPAddressInformation.cs
- RuntimeIdentifierPropertyAttribute.cs
- RuleCache.cs
- AlphabetConverter.cs
- ByteAnimationBase.cs
- ConstraintStruct.cs
- TextTreeText.cs
- StatusBar.cs
- LogSwitch.cs
- PassportAuthenticationModule.cs
- WithStatement.cs
- ExecutionContext.cs
- TransformPatternIdentifiers.cs
- Vector.cs
- XmlAttributeHolder.cs
- UnitySerializationHolder.cs
- FormViewActionList.cs
- PathFigureCollectionValueSerializer.cs
- ProviderCommandInfoUtils.cs
- TextDecorationCollection.cs
- BamlBinaryReader.cs
- BoolLiteral.cs
- WmiPutTraceRecord.cs
- SchemaNamespaceManager.cs
- DelegatingTypeDescriptionProvider.cs
- OpenFileDialog.cs
- SqlDataSourceStatusEventArgs.cs
- BuildProvider.cs
- HtmlEmptyTagControlBuilder.cs
- PartialCachingControl.cs
- TraceHwndHost.cs
- RegexRunnerFactory.cs