Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / 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 : Micw 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. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: AsyncContentLoadedEventArgs event args class // // History: // 02/04/2004 : Srikanth Koneru created // 11/08/2004 : Micw 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
- FixedSOMGroup.cs
- LinkClickEvent.cs
- SettingsSavedEventArgs.cs
- InstanceCreationEditor.cs
- ObjectDataSource.cs
- WorkflowServiceBehavior.cs
- AutoResetEvent.cs
- RedirectionProxy.cs
- TagPrefixCollection.cs
- UniformGrid.cs
- CategoryAttribute.cs
- _Rfc2616CacheValidators.cs
- WaitHandle.cs
- ActivityExecutorOperation.cs
- EdmEntityTypeAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- Table.cs
- OdbcEnvironment.cs
- DeferredTextReference.cs
- HostedNamedPipeTransportManager.cs
- PropertyConverter.cs
- ProcessHostServerConfig.cs
- DataObjectPastingEventArgs.cs
- RightNameExpirationInfoPair.cs
- MDIClient.cs
- XmlSchemaNotation.cs
- LinqDataSource.cs
- LostFocusEventManager.cs
- DataGridRow.cs
- Int64Storage.cs
- EndEvent.cs
- EqualityComparer.cs
- CultureTableRecord.cs
- baseaxisquery.cs
- IdentityReference.cs
- Token.cs
- AutoResetEvent.cs
- XmlSchemaImport.cs
- SHA512CryptoServiceProvider.cs
- OracleTransaction.cs
- PasswordDeriveBytes.cs
- DoubleAnimationClockResource.cs
- IPEndPoint.cs
- ContainerUIElement3D.cs
- DoubleAnimationUsingKeyFrames.cs
- HttpHandlersSection.cs
- ColumnProvider.cs
- CacheEntry.cs
- ConfigXmlWhitespace.cs
- TreeNodeCollection.cs
- SqlXml.cs
- XamlPoint3DCollectionSerializer.cs
- WaveHeader.cs
- IdleTimeoutMonitor.cs
- ToolStripPanelDesigner.cs
- ChannelManagerHelpers.cs
- CodeNamespaceImport.cs
- MultiView.cs
- XmlnsDefinitionAttribute.cs
- ColumnProvider.cs
- WindowsTreeView.cs
- ObjectTag.cs
- CompressionTransform.cs
- GenericIdentity.cs
- ToolStripOverflowButton.cs
- WindowsListViewGroupHelper.cs
- DataRowCollection.cs
- HttpListenerRequest.cs
- ExpressionEditorAttribute.cs
- CodeChecksumPragma.cs
- ArrayMergeHelper.cs
- HttpResponseHeader.cs
- HttpServerUtilityBase.cs
- ExpressionsCollectionConverter.cs
- PointConverter.cs
- XPathArrayIterator.cs
- FontCollection.cs
- TransactionScopeDesigner.cs
- FileVersionInfo.cs
- CustomSignedXml.cs
- SQLByte.cs
- OutputScopeManager.cs
- ThrowHelper.cs
- Missing.cs
- DataConnectionHelper.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- EntitySet.cs
- IdentityReference.cs
- OptimalTextSource.cs
- SecurityUtils.cs
- HttpHeaderCollection.cs
- ToolboxComponentsCreatingEventArgs.cs
- IssuanceLicense.cs
- Timer.cs
- SymmetricSecurityProtocolFactory.cs
- XmlDocument.cs
- ResponseStream.cs
- Exceptions.cs
- UpdateCompiler.cs
- WebPartsSection.cs