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
- EdmToObjectNamespaceMap.cs
- EdmPropertyAttribute.cs
- OdbcConnection.cs
- Camera.cs
- StylusSystemGestureEventArgs.cs
- FixedSOMLineCollection.cs
- PrimaryKeyTypeConverter.cs
- Context.cs
- RegistryDataKey.cs
- DataRecordInternal.cs
- X509Utils.cs
- MultiPartWriter.cs
- DebugViewWriter.cs
- CursorConverter.cs
- HttpCapabilitiesBase.cs
- PanelDesigner.cs
- SHA384.cs
- ColumnHeaderCollectionEditor.cs
- HtmlImage.cs
- SoapAttributeAttribute.cs
- JpegBitmapDecoder.cs
- PageCodeDomTreeGenerator.cs
- WebPartMovingEventArgs.cs
- Int64KeyFrameCollection.cs
- DbConnectionPoolGroup.cs
- RealizationContext.cs
- RuntimeHelpers.cs
- PrivilegedConfigurationManager.cs
- TimeBoundedCache.cs
- BindingManagerDataErrorEventArgs.cs
- CategoryEditor.cs
- DocumentEventArgs.cs
- BinaryNegotiation.cs
- MatrixTransform3D.cs
- XmlSerializableServices.cs
- EdmValidator.cs
- ThreadStaticAttribute.cs
- EmbossBitmapEffect.cs
- PointLightBase.cs
- BufferedMessageWriter.cs
- OperationAbortedException.cs
- OleDbInfoMessageEvent.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- Verify.cs
- ValidationErrorCollection.cs
- SoapHeader.cs
- ConfigurationManagerInternalFactory.cs
- AuthenticationConfig.cs
- CodeTypeReferenceExpression.cs
- NetworkStream.cs
- CqlBlock.cs
- TempFiles.cs
- BitmapPalettes.cs
- TdsRecordBufferSetter.cs
- Panel.cs
- DocumentViewerBaseAutomationPeer.cs
- VectorConverter.cs
- UrlMappingCollection.cs
- Models.cs
- FileBasedResourceGroveler.cs
- BoundPropertyEntry.cs
- FormView.cs
- TextParagraphProperties.cs
- EntityConnection.cs
- Compensate.cs
- LogRestartAreaEnumerator.cs
- MemoryMappedFile.cs
- Helpers.cs
- listviewsubitemcollectioneditor.cs
- ClientOptions.cs
- KeyValuePairs.cs
- BindingExpressionBase.cs
- Object.cs
- XmlSchemaImporter.cs
- ConstructorArgumentAttribute.cs
- InvokeBinder.cs
- InlinedAggregationOperator.cs
- OdbcDataAdapter.cs
- DispatchChannelSink.cs
- DrawingContext.cs
- PageParserFilter.cs
- RequestQueue.cs
- InternalDuplexChannelFactory.cs
- infer.cs
- TripleDESCryptoServiceProvider.cs
- ContainsRowNumberChecker.cs
- LocalizationParserHooks.cs
- PrePrepareMethodAttribute.cs
- ToolStripLocationCancelEventArgs.cs
- OTFRasterizer.cs
- UnauthorizedWebPart.cs
- ColumnCollectionEditor.cs
- StrokeNodeOperations2.cs
- SHA512Managed.cs
- RegistryPermission.cs
- IisTraceWebEventProvider.cs
- TreeViewItem.cs
- ComponentEditorPage.cs
- _NetworkingPerfCounters.cs
- SafeNativeHandle.cs