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
- ScaleTransform3D.cs
- ClonableStack.cs
- HttpGetClientProtocol.cs
- ListItemConverter.cs
- QilValidationVisitor.cs
- VoiceObjectToken.cs
- XmlNodeList.cs
- BuildProviderCollection.cs
- Brushes.cs
- BinaryExpression.cs
- SigningCredentials.cs
- InkCanvasSelectionAdorner.cs
- ListBindingConverter.cs
- EmptyEnumerable.cs
- ObjectSet.cs
- DoubleLink.cs
- ExpressionEditorAttribute.cs
- XsltQilFactory.cs
- EventToken.cs
- WriteTimeStream.cs
- Regex.cs
- TextServicesHost.cs
- SliderAutomationPeer.cs
- MdiWindowListItemConverter.cs
- ResourceProviderFactory.cs
- HashRepartitionStream.cs
- DataSourceHelper.cs
- ZipPackage.cs
- ObjectViewEntityCollectionData.cs
- JournalNavigationScope.cs
- ContextMenuStrip.cs
- DbConnectionPoolIdentity.cs
- SimpleMailWebEventProvider.cs
- SessionPageStateSection.cs
- SecurityRuntime.cs
- DataGridViewBand.cs
- UnsafeNativeMethods.cs
- DataGridViewRowHeaderCell.cs
- ElementNotEnabledException.cs
- mansign.cs
- ConfigurationLocation.cs
- mda.cs
- BroadcastEventHelper.cs
- Quaternion.cs
- TextFindEngine.cs
- XsltConvert.cs
- BuildDependencySet.cs
- DataGridViewButtonCell.cs
- SessionStateModule.cs
- StrokeCollectionConverter.cs
- IncrementalCompileAnalyzer.cs
- ControlBindingsConverter.cs
- WebChannelFactory.cs
- WindowsPen.cs
- ProvidePropertyAttribute.cs
- AssemblyResourceLoader.cs
- dbenumerator.cs
- CodeTypeReferenceExpression.cs
- PublisherMembershipCondition.cs
- InvalidProgramException.cs
- InitializeCorrelation.cs
- IfAction.cs
- HWStack.cs
- ChangeConflicts.cs
- SQLDateTimeStorage.cs
- SmiTypedGetterSetter.cs
- OleDbParameter.cs
- TagPrefixCollection.cs
- AttributeConverter.cs
- XmlSchemaComplexContentExtension.cs
- XmlNamedNodeMap.cs
- QuaternionConverter.cs
- NameValueConfigurationCollection.cs
- DataServiceKeyAttribute.cs
- StrongName.cs
- StructuralType.cs
- KeyConstraint.cs
- CodeExpressionStatement.cs
- SequenceNumber.cs
- Size.cs
- AppDomain.cs
- Privilege.cs
- InfiniteIntConverter.cs
- StringAnimationUsingKeyFrames.cs
- XmlDataSource.cs
- XLinq.cs
- RecognitionResult.cs
- CardSpaceShim.cs
- XmlReflectionImporter.cs
- SqlTriggerContext.cs
- InputBinding.cs
- SID.cs
- DataTransferEventArgs.cs
- VisemeEventArgs.cs
- EnumUnknown.cs
- DataGridTableCollection.cs
- SqlUdtInfo.cs
- EndpointConfigContainer.cs
- OleDbParameterCollection.cs
- DnsPermission.cs