Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- WebServiceHandlerFactory.cs
- ResourceType.cs
- SingleSelectRootGridEntry.cs
- StatusBar.cs
- HttpWebRequestElement.cs
- PackageDigitalSignatureManager.cs
- DescendantOverDescendantQuery.cs
- JsonByteArrayDataContract.cs
- EventLogSession.cs
- ApplicationDirectory.cs
- BitmapEffectInput.cs
- TypeUsageBuilder.cs
- ErrorInfoXmlDocument.cs
- LogLogRecordHeader.cs
- ProcessHostFactoryHelper.cs
- ValueSerializerAttribute.cs
- ToolStripDropDownClosedEventArgs.cs
- ReadWriteSpinLock.cs
- ToolStripButton.cs
- PagedDataSource.cs
- Monitor.cs
- EnlistmentTraceIdentifier.cs
- RegexCompilationInfo.cs
- BitmapEffectOutputConnector.cs
- TransportSecurityBindingElement.cs
- BoundingRectTracker.cs
- DataGridViewEditingControlShowingEventArgs.cs
- XmlNotation.cs
- AsymmetricSignatureDeformatter.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- DrawingState.cs
- MetadataUtilsSmi.cs
- EntityViewGenerationAttribute.cs
- Thread.cs
- TransformedBitmap.cs
- SqlNotificationEventArgs.cs
- RelationalExpressions.cs
- DBConnectionString.cs
- GeneralTransform3DGroup.cs
- ViewStateChangedEventArgs.cs
- ExternalCalls.cs
- VersionedStreamOwner.cs
- ResolveCriteria.cs
- PageAsyncTask.cs
- NotFiniteNumberException.cs
- RawStylusInput.cs
- OleDbReferenceCollection.cs
- LocalizableAttribute.cs
- PagerSettings.cs
- PngBitmapDecoder.cs
- WorkerRequest.cs
- _TLSstream.cs
- XamlPointCollectionSerializer.cs
- BindingListCollectionView.cs
- PasswordPropertyTextAttribute.cs
- WebBrowsableAttribute.cs
- ConfigXmlComment.cs
- FontStretch.cs
- SmtpDigestAuthenticationModule.cs
- DivideByZeroException.cs
- XmlIncludeAttribute.cs
- SspiWrapper.cs
- ListBox.cs
- InvalidProgramException.cs
- DataGridTablesFactory.cs
- RSAOAEPKeyExchangeDeformatter.cs
- HtmlUtf8RawTextWriter.cs
- FixedPosition.cs
- StaticSiteMapProvider.cs
- ServiceKnownTypeAttribute.cs
- ChannelSinkStacks.cs
- RegistrySecurity.cs
- NumberFunctions.cs
- EntityContainerEntitySetDefiningQuery.cs
- HttpAsyncResult.cs
- QuaternionKeyFrameCollection.cs
- StateChangeEvent.cs
- GridEntry.cs
- DirectionalLight.cs
- AVElementHelper.cs
- SQLRoleProvider.cs
- BitmapEffect.cs
- GenerateHelper.cs
- HyperLinkDesigner.cs
- FontCacheUtil.cs
- TextBoxBase.cs
- SqlFunctionAttribute.cs
- Animatable.cs
- Visual3D.cs
- QuaternionValueSerializer.cs
- XXXOnTypeBuilderInstantiation.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ColorConvertedBitmap.cs
- HttpListenerPrefixCollection.cs
- ScrollBarAutomationPeer.cs
- columnmapkeybuilder.cs
- XmlTextReaderImplHelpers.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- StringFreezingAttribute.cs
- BindingWorker.cs