Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- CommandDevice.cs
- ChannelSinkStacks.cs
- RichTextBox.cs
- WorkflowStateRollbackService.cs
- DataTableExtensions.cs
- ContentPosition.cs
- Tracer.cs
- UpdateManifestForBrowserApplication.cs
- HttpVersion.cs
- PopupEventArgs.cs
- RoleGroup.cs
- InternalConfigSettingsFactory.cs
- PagesChangedEventArgs.cs
- DeferredReference.cs
- DocumentViewerConstants.cs
- PageVisual.cs
- DynamicMethod.cs
- SpellerInterop.cs
- DesigntimeLicenseContext.cs
- CodeDelegateCreateExpression.cs
- HTMLTextWriter.cs
- WinFormsComponentEditor.cs
- ComponentCollection.cs
- IsolatedStorage.cs
- Internal.cs
- ReadOnlyDataSourceView.cs
- LockRecoveryTask.cs
- XmlNamespaceMappingCollection.cs
- BitmapFrameDecode.cs
- PublishLicense.cs
- SqlConnectionStringBuilder.cs
- ConfigurationException.cs
- LogReservationCollection.cs
- RegexCharClass.cs
- MimeTypePropertyAttribute.cs
- CompositionAdorner.cs
- ProfilePropertyMetadata.cs
- StringAnimationUsingKeyFrames.cs
- StringConcat.cs
- PersonalizableAttribute.cs
- HostProtectionPermission.cs
- TextEmbeddedObject.cs
- Interlocked.cs
- TextRunCacheImp.cs
- ControllableStoryboardAction.cs
- PreviewPrintController.cs
- AddressUtility.cs
- XmlSchemaProviderAttribute.cs
- Delegate.cs
- TdsParserSessionPool.cs
- sqlinternaltransaction.cs
- BooleanAnimationBase.cs
- MenuItem.cs
- EventLogPermissionAttribute.cs
- SystemSounds.cs
- EntitySqlQueryBuilder.cs
- TypeDependencyAttribute.cs
- DataGrid.cs
- ThreadSafeList.cs
- ExpressionBuilderContext.cs
- AssemblyBuilderData.cs
- SoapSchemaImporter.cs
- XmlDocumentFragment.cs
- Pkcs7Signer.cs
- StrokeCollection.cs
- CompilationPass2Task.cs
- XmlNamedNodeMap.cs
- DriveNotFoundException.cs
- RelationshipWrapper.cs
- MethodBuilderInstantiation.cs
- OleDbFactory.cs
- SignatureToken.cs
- SiteMembershipCondition.cs
- Serializer.cs
- HMACMD5.cs
- ScriptHandlerFactory.cs
- AnnotationHighlightLayer.cs
- Validator.cs
- FrameworkElementFactoryMarkupObject.cs
- NotFiniteNumberException.cs
- ConfigXmlCDataSection.cs
- InfiniteTimeSpanConverter.cs
- EntityCommandDefinition.cs
- XpsSerializationManager.cs
- RichTextBoxConstants.cs
- XmlConvert.cs
- SystemIPGlobalProperties.cs
- FunctionImportElement.cs
- DirectionalLight.cs
- GroupBoxDesigner.cs
- PassportIdentity.cs
- FileSecurity.cs
- CommandBindingCollection.cs
- ImageSourceValueSerializer.cs
- SelectionItemProviderWrapper.cs
- DataControlImageButton.cs
- DocumentReference.cs
- NativeMethods.cs
- ButtonFlatAdapter.cs
- WebPartEventArgs.cs