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
- NavigatingCancelEventArgs.cs
- TemplatingOptionsDialog.cs
- BitmapEffectGeneralTransform.cs
- TextureBrush.cs
- WriteableOnDemandStream.cs
- CryptoConfig.cs
- QueryExpr.cs
- SessionPageStateSection.cs
- DynamicRenderer.cs
- Vector3DAnimationBase.cs
- StoreItemCollection.Loader.cs
- FontNamesConverter.cs
- KeyInstance.cs
- Literal.cs
- XmlSchemaGroupRef.cs
- TextEditorMouse.cs
- ControlAdapter.cs
- ToolStripItemCollection.cs
- FixedStringLookup.cs
- CryptoApi.cs
- MarkupExtensionParser.cs
- LoginStatusDesigner.cs
- AnnotationHelper.cs
- QualificationDataItem.cs
- UIAgentMonitorHandle.cs
- ReferencedType.cs
- DiagnosticTraceSource.cs
- SqlClientPermission.cs
- ArcSegment.cs
- odbcmetadatacollectionnames.cs
- QueryContinueDragEventArgs.cs
- TextServicesPropertyRanges.cs
- InsufficientMemoryException.cs
- SqlUtils.cs
- ITextView.cs
- Int64Storage.cs
- DesignerActionKeyboardBehavior.cs
- ReflectionPermission.cs
- AttributeUsageAttribute.cs
- ZoneLinkButton.cs
- CodeExpressionStatement.cs
- TypeFieldSchema.cs
- AnnotationResourceChangedEventArgs.cs
- KeySpline.cs
- DifferencingCollection.cs
- PageCodeDomTreeGenerator.cs
- AssemblyBuilder.cs
- ContainerVisual.cs
- ContextMenu.cs
- PtsHost.cs
- XmlSchemaProviderAttribute.cs
- OleAutBinder.cs
- DataRow.cs
- ViewValidator.cs
- QualifierSet.cs
- ScalarOps.cs
- XXXOnTypeBuilderInstantiation.cs
- RepeaterItem.cs
- TypeBuilderInstantiation.cs
- MULTI_QI.cs
- prefixendpointaddressmessagefiltertable.cs
- Config.cs
- Geometry3D.cs
- GraphicsPathIterator.cs
- FormatConvertedBitmap.cs
- ChangeNode.cs
- ExpressionConverter.cs
- GenericEnumerator.cs
- FlowNode.cs
- Activity.cs
- ConfigXmlWhitespace.cs
- DataGridParentRows.cs
- AnyReturnReader.cs
- InfiniteTimeSpanConverter.cs
- ProfessionalColors.cs
- ContentDisposition.cs
- WorkflowValidationFailedException.cs
- HttpRequestMessageProperty.cs
- FontClient.cs
- IPipelineRuntime.cs
- ProviderSettingsCollection.cs
- InvalidCommandTreeException.cs
- Stylus.cs
- clipboard.cs
- ServerValidateEventArgs.cs
- MailAddressCollection.cs
- ObjectListCommandEventArgs.cs
- SoapSchemaMember.cs
- Int64Animation.cs
- IisTraceWebEventProvider.cs
- DataContractSerializerElement.cs
- AttributeCollection.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- InstanceDescriptor.cs
- TrustManager.cs
- AnnotationComponentChooser.cs
- Validator.cs
- BypassElement.cs
- DoubleCollectionValueSerializer.cs
- ModelItemKeyValuePair.cs