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
- AssemblyCache.cs
- ObjectListFieldCollection.cs
- BitArray.cs
- NullReferenceException.cs
- Rect3DConverter.cs
- GroupBoxDesigner.cs
- ArrayTypeMismatchException.cs
- SafeFindHandle.cs
- DataListItemEventArgs.cs
- ExpressionNode.cs
- ImageCollectionEditor.cs
- ObjectStateEntryDbDataRecord.cs
- ExpressionParser.cs
- Perspective.cs
- UpdateRecord.cs
- DecimalConstantAttribute.cs
- ProgressBarBrushConverter.cs
- XmlNodeChangedEventManager.cs
- StylusCollection.cs
- BitmapEncoder.cs
- KeyManager.cs
- ProcessThread.cs
- DataGridViewLinkColumn.cs
- Byte.cs
- SaveFileDialog.cs
- RequestQueue.cs
- ComplexObject.cs
- PowerStatus.cs
- PkcsMisc.cs
- _DisconnectOverlappedAsyncResult.cs
- XmlName.cs
- StringResourceManager.cs
- OrderedDictionary.cs
- MobilePage.cs
- BooleanFacetDescriptionElement.cs
- ContextItem.cs
- CounterSampleCalculator.cs
- FragmentQueryProcessor.cs
- ComponentCollection.cs
- PartialClassGenerationTask.cs
- FormattedText.cs
- altserialization.cs
- Console.cs
- AnnotationHelper.cs
- DiagnosticsConfigurationHandler.cs
- Metafile.cs
- CardSpaceSelector.cs
- TextEditorCopyPaste.cs
- SqlProviderManifest.cs
- DataBoundControl.cs
- AdCreatedEventArgs.cs
- DataRow.cs
- DescendentsWalker.cs
- LinearGradientBrush.cs
- MonthChangedEventArgs.cs
- ValuePattern.cs
- ToolStripRenderer.cs
- ISSmlParser.cs
- BidPrivateBase.cs
- TypedRowHandler.cs
- TransformationRules.cs
- SymbolDocumentGenerator.cs
- DataSet.cs
- SerializableAttribute.cs
- ToolStripRenderer.cs
- TextSchema.cs
- InvalidAsynchronousStateException.cs
- XPathDocumentBuilder.cs
- xml.cs
- RangeValidator.cs
- DateTimeConverter2.cs
- BufferBuilder.cs
- QuadraticBezierSegment.cs
- SafeFileMapViewHandle.cs
- IdentifierService.cs
- CodeSnippetStatement.cs
- WebPartCatalogCloseVerb.cs
- SettingsPropertyIsReadOnlyException.cs
- CssClassPropertyAttribute.cs
- oledbmetadatacollectionnames.cs
- MessageSecurityVersion.cs
- StringSorter.cs
- X509CertificateCollection.cs
- WebEventCodes.cs
- NetworkInterface.cs
- ListenerConnectionDemuxer.cs
- TextTreeExtractElementUndoUnit.cs
- FeatureManager.cs
- ClipboardProcessor.cs
- HttpListenerResponse.cs
- ImageEditor.cs
- FontStyle.cs
- EventDescriptor.cs
- AdRotator.cs
- SQLGuidStorage.cs
- Update.cs
- RSAOAEPKeyExchangeFormatter.cs
- FileDataSourceCache.cs
- RelationshipConverter.cs
- XmlSchemaComplexContentRestriction.cs