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
- ProvidePropertyAttribute.cs
- IISUnsafeMethods.cs
- StorageAssociationSetMapping.cs
- ReadContentAsBinaryHelper.cs
- CodeTryCatchFinallyStatement.cs
- BinaryCommonClasses.cs
- DataGridClipboardCellContent.cs
- LineSegment.cs
- ValueQuery.cs
- XmlNullResolver.cs
- ToolStripButton.cs
- ListViewSortEventArgs.cs
- XmlAttributeOverrides.cs
- _NestedMultipleAsyncResult.cs
- OutputCacheProfileCollection.cs
- SamlConditions.cs
- CodeTypeReferenceCollection.cs
- EncoderBestFitFallback.cs
- GroupDescription.cs
- DataException.cs
- SystemSounds.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- Pens.cs
- TableSectionStyle.cs
- OdbcUtils.cs
- SpellerError.cs
- CheckBoxFlatAdapter.cs
- Tuple.cs
- ModuleElement.cs
- GPPOINT.cs
- BindingList.cs
- UnlockInstanceAsyncResult.cs
- ToolStripPanelDesigner.cs
- webeventbuffer.cs
- KeyPullup.cs
- BamlResourceSerializer.cs
- HiddenField.cs
- XPathBuilder.cs
- LocationInfo.cs
- WebZone.cs
- XsltSettings.cs
- TrustLevelCollection.cs
- StrokeFIndices.cs
- SQLGuidStorage.cs
- NavigationPropertyEmitter.cs
- XmlAnyElementAttributes.cs
- XPathDocument.cs
- CornerRadiusConverter.cs
- EventEntry.cs
- KeyGestureValueSerializer.cs
- AuthorizationBehavior.cs
- StrokeRenderer.cs
- DateTimeStorage.cs
- EventLogTraceListener.cs
- EventLogHandle.cs
- PrintingPermissionAttribute.cs
- ByteStream.cs
- RelationshipWrapper.cs
- MexTcpBindingElement.cs
- EntityProxyTypeInfo.cs
- DbTypeMap.cs
- ContextMenuStrip.cs
- BamlTreeNode.cs
- PrintSchema.cs
- ComponentResourceKey.cs
- CollaborationHelperFunctions.cs
- OptionalColumn.cs
- WebPartUserCapability.cs
- CompositeControl.cs
- sqlstateclientmanager.cs
- XmlNamespaceDeclarationsAttribute.cs
- InternalMappingException.cs
- XPathPatternBuilder.cs
- Transform.cs
- RoleService.cs
- XmlNamespaceDeclarationsAttribute.cs
- SiteMapNodeItemEventArgs.cs
- ProfilePropertySettings.cs
- BmpBitmapEncoder.cs
- MasterPageParser.cs
- BitmapScalingModeValidation.cs
- Condition.cs
- BoundPropertyEntry.cs
- EnumerableRowCollection.cs
- FixedSOMContainer.cs
- ToolStripActionList.cs
- coordinatorfactory.cs
- ParenthesizePropertyNameAttribute.cs
- FormatConvertedBitmap.cs
- FontFaceLayoutInfo.cs
- ThreadStateException.cs
- _BasicClient.cs
- UnsafeNetInfoNativeMethods.cs
- ClassicBorderDecorator.cs
- RectAnimationClockResource.cs
- OutputScope.cs
- ToolStripSeparator.cs
- FigureHelper.cs
- SmtpLoginAuthenticationModule.cs
- ComNativeDescriptor.cs