Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- VisualStateChangedEventArgs.cs
- XPathDocumentNavigator.cs
- ConnectionStringSettingsCollection.cs
- AspNetRouteServiceHttpHandler.cs
- StatusBarItemAutomationPeer.cs
- PingReply.cs
- SymbolEqualComparer.cs
- BitmapCodecInfoInternal.cs
- DbUpdateCommandTree.cs
- DesignerObject.cs
- MouseDevice.cs
- XPathQueryGenerator.cs
- CapacityStreamGeometryContext.cs
- SourceFilter.cs
- ItemCollection.cs
- TabletDevice.cs
- SharedPersonalizationStateInfo.cs
- TargetControlTypeAttribute.cs
- EncodingDataItem.cs
- IndexedGlyphRun.cs
- ParseNumbers.cs
- ErasingStroke.cs
- SpotLight.cs
- TextAnchor.cs
- TranslateTransform3D.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DateTimePicker.cs
- Msec.cs
- Point.cs
- TemplateEditingFrame.cs
- DiagnosticsConfiguration.cs
- ApplicationBuildProvider.cs
- ChannelProtectionRequirements.cs
- While.cs
- ComponentRenameEvent.cs
- WebPartConnection.cs
- InternalRelationshipCollection.cs
- TreeNodeStyle.cs
- HtmlShim.cs
- TogglePatternIdentifiers.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DirectionalLight.cs
- CookielessHelper.cs
- GifBitmapDecoder.cs
- SimpleRecyclingCache.cs
- MonthCalendar.cs
- ResourceWriter.cs
- Switch.cs
- IPHostEntry.cs
- XamlWrapperReaders.cs
- TypeInitializationException.cs
- SelectionItemPattern.cs
- util.cs
- TTSEvent.cs
- ScrollViewerAutomationPeer.cs
- LayoutInformation.cs
- XmlSchemaComplexType.cs
- DescriptionAttribute.cs
- ProfileInfo.cs
- ImmComposition.cs
- InputMethod.cs
- RowVisual.cs
- XmlConvert.cs
- RowTypePropertyElement.cs
- DetailsViewPagerRow.cs
- WorkflowOperationBehavior.cs
- behaviorssection.cs
- SoundPlayer.cs
- UriTemplateEquivalenceComparer.cs
- GcSettings.cs
- WebEventTraceProvider.cs
- sqlnorm.cs
- DbConnectionPoolOptions.cs
- DocumentEventArgs.cs
- TwoPhaseCommit.cs
- CodeTypeReference.cs
- TextPointerBase.cs
- InternalMappingException.cs
- InputLanguage.cs
- Comparer.cs
- BroadcastEventHelper.cs
- ExceptionValidationRule.cs
- ObjectToken.cs
- MetaForeignKeyColumn.cs
- EditorPart.cs
- RightsManagementInformation.cs
- SafeArrayTypeMismatchException.cs
- PaperSize.cs
- ProcessHostMapPath.cs
- XmlNode.cs
- ToolStripSystemRenderer.cs
- ConsumerConnectionPointCollection.cs
- ChangeInterceptorAttribute.cs
- SafeNativeMethods.cs
- ChangeDirector.cs
- Int32Collection.cs
- ShapeTypeface.cs
- __Filters.cs
- BrowsableAttribute.cs
- Container.cs