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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CopyOnWriteList.cs
- UrlMappingsModule.cs
- BackoffTimeoutHelper.cs
- PageSettings.cs
- SQLBytes.cs
- CodeSnippetStatement.cs
- TextDpi.cs
- ValidatingPropertiesEventArgs.cs
- XamlTypeMapper.cs
- Control.cs
- ButtonFlatAdapter.cs
- RequiredAttributeAttribute.cs
- MergeFilterQuery.cs
- FileUpload.cs
- ExpressionBindings.cs
- LinqDataSourceSelectEventArgs.cs
- Int32.cs
- SQLString.cs
- RadioButtonFlatAdapter.cs
- TreeView.cs
- SEHException.cs
- Vector.cs
- TraceHandlerErrorFormatter.cs
- DataListCommandEventArgs.cs
- ColorTranslator.cs
- SqlNodeAnnotation.cs
- SecurityManager.cs
- WindowsContainer.cs
- Oid.cs
- HtmlTableCell.cs
- SpotLight.cs
- Int16AnimationUsingKeyFrames.cs
- FixedTextContainer.cs
- WithStatement.cs
- CompilationLock.cs
- _LocalDataStoreMgr.cs
- SizeAnimationClockResource.cs
- Stylus.cs
- UnsafeNativeMethods.cs
- DataGridViewUtilities.cs
- wgx_exports.cs
- Int32AnimationUsingKeyFrames.cs
- documentation.cs
- DataGridAddNewRow.cs
- EventLogPermission.cs
- MarshalDirectiveException.cs
- Attributes.cs
- ExpressionContext.cs
- DuplicateWaitObjectException.cs
- FaultReason.cs
- CatalogPart.cs
- Config.cs
- Keywords.cs
- ImageBrush.cs
- CFStream.cs
- PermissionSetTriple.cs
- WCFBuildProvider.cs
- WindowsSlider.cs
- WaitHandle.cs
- CodeLabeledStatement.cs
- WebPageTraceListener.cs
- SetStoryboardSpeedRatio.cs
- FontStretchConverter.cs
- NameValuePair.cs
- ReferencedType.cs
- HttpProfileGroupBase.cs
- UserControlParser.cs
- DynamicRendererThreadManager.cs
- SQLMoney.cs
- CoreSwitches.cs
- FontFaceLayoutInfo.cs
- UniqueIdentifierService.cs
- _SSPISessionCache.cs
- DataSourceControl.cs
- DbParameterCollectionHelper.cs
- PolygonHotSpot.cs
- Int16AnimationUsingKeyFrames.cs
- Metadata.cs
- MenuItemBindingCollection.cs
- DataSourceControl.cs
- CellTreeNodeVisitors.cs
- HtmlMeta.cs
- PrintDialog.cs
- CompiledQueryCacheKey.cs
- SecurityPolicySection.cs
- TextRunProperties.cs
- ApplicationManager.cs
- ContainerVisual.cs
- SiteOfOriginPart.cs
- XamlInt32CollectionSerializer.cs
- ArgIterator.cs
- ComponentEditorPage.cs
- HotCommands.cs
- CodeGenerator.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- DbModificationCommandTree.cs
- WinEventHandler.cs
- CompilationLock.cs
- ResourceExpressionEditorSheet.cs
- XmlResolver.cs