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
- LogRestartAreaEnumerator.cs
- ManagementNamedValueCollection.cs
- SurrogateChar.cs
- OutOfMemoryException.cs
- ImpersonationContext.cs
- RequestQueue.cs
- MultiSelectRootGridEntry.cs
- ResumeStoryboard.cs
- XmlReaderSettings.cs
- X509ImageLogo.cs
- AttachedPropertyBrowsableAttribute.cs
- SoapSchemaImporter.cs
- HttpStreamXmlDictionaryReader.cs
- AttributeQuery.cs
- Group.cs
- DirectoryLocalQuery.cs
- HttpConfigurationSystem.cs
- PasswordPropertyTextAttribute.cs
- FieldToken.cs
- ItemsPresenter.cs
- XmlSchemaAnnotation.cs
- EventLogEntry.cs
- XmlWrappingReader.cs
- XmlReaderSettings.cs
- SimpleHandlerFactory.cs
- _HeaderInfo.cs
- SoapMessage.cs
- PagesChangedEventArgs.cs
- XslAst.cs
- Root.cs
- counter.cs
- PLINQETWProvider.cs
- ExtensionQuery.cs
- ChangeBlockUndoRecord.cs
- ItemCheckedEvent.cs
- Int32AnimationUsingKeyFrames.cs
- DbParameterCollectionHelper.cs
- EventSinkHelperWriter.cs
- HandlerWithFactory.cs
- TabControl.cs
- ListBoxItemAutomationPeer.cs
- RichTextBoxConstants.cs
- RegexCaptureCollection.cs
- ConstraintStruct.cs
- FunctionImportMapping.cs
- RuleSettingsCollection.cs
- FolderBrowserDialog.cs
- ConstantSlot.cs
- ServiceModelDictionary.cs
- SortKey.cs
- DataViewManagerListItemTypeDescriptor.cs
- ExtendLockAsyncResult.cs
- HttpStreamXmlDictionaryReader.cs
- WebDescriptionAttribute.cs
- FileSystemInfo.cs
- PersistenceTypeAttribute.cs
- WebPartUserCapability.cs
- AnnotationObservableCollection.cs
- Int16.cs
- SubqueryTrackingVisitor.cs
- Brushes.cs
- WebPartConnectionsDisconnectVerb.cs
- Utils.cs
- UInt32.cs
- FullTextLine.cs
- HostingEnvironmentSection.cs
- RowToParametersTransformer.cs
- ContentPlaceHolder.cs
- ColorContextHelper.cs
- SQLInt64.cs
- Merger.cs
- RTTrackingProfile.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SafeBitVector32.cs
- ClipboardProcessor.cs
- ListControl.cs
- FactoryRecord.cs
- PrimitiveType.cs
- XamlWriter.cs
- GenericNameHandler.cs
- CreateUserWizardStep.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- CopyAttributesAction.cs
- Style.cs
- RequestQueue.cs
- RelationshipEnd.cs
- GroupByQueryOperator.cs
- PartManifestEntry.cs
- TraceListeners.cs
- Guid.cs
- KeySpline.cs
- RotateTransform.cs
- RootNamespaceAttribute.cs
- MultipleViewProviderWrapper.cs
- HtmlButton.cs
- IOException.cs
- OdbcReferenceCollection.cs
- ModifierKeysConverter.cs
- IntPtr.cs
- DataKeyCollection.cs