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
- FormView.cs
- DataTrigger.cs
- PixelShader.cs
- StylusDevice.cs
- TabletDeviceInfo.cs
- WindowsFormsSynchronizationContext.cs
- ChannelSinkStacks.cs
- Button.cs
- StructuredTypeInfo.cs
- CodeBlockBuilder.cs
- EndPoint.cs
- SqlConnectionManager.cs
- XsltException.cs
- EditableTreeList.cs
- WorkflowViewElement.cs
- Calendar.cs
- ProcessStartInfo.cs
- XMLSchema.cs
- ExtendedProperty.cs
- Properties.cs
- ToolCreatedEventArgs.cs
- ErrorEventArgs.cs
- ChtmlSelectionListAdapter.cs
- DetailsViewPagerRow.cs
- FlowchartDesignerCommands.cs
- WindowsListViewItemCheckBox.cs
- DbTransaction.cs
- CodeStatementCollection.cs
- ScriptRegistrationManager.cs
- DropAnimation.xaml.cs
- BufferedConnection.cs
- SettingsSection.cs
- UnknownWrapper.cs
- DefaultEvaluationContext.cs
- dsa.cs
- Events.cs
- PolyBezierSegmentFigureLogic.cs
- Positioning.cs
- CorePropertiesFilter.cs
- ErrorWebPart.cs
- DialogResultConverter.cs
- GlobalizationSection.cs
- ElementUtil.cs
- NativeMethods.cs
- DetailsViewUpdatedEventArgs.cs
- SchemaImporterExtension.cs
- EditorOptionAttribute.cs
- RemotingConfigParser.cs
- HttpRuntime.cs
- Stackframe.cs
- XmlArrayItemAttributes.cs
- RoutedEvent.cs
- DataServiceStreamResponse.cs
- DesignBinding.cs
- ServicesExceptionNotHandledEventArgs.cs
- DataIdProcessor.cs
- PolicyStatement.cs
- StoreAnnotationsMap.cs
- DefaultBinder.cs
- ComNativeDescriptor.cs
- SHA384.cs
- ValidatingPropertiesEventArgs.cs
- Camera.cs
- ToolTip.cs
- FormViewDeleteEventArgs.cs
- IPAddress.cs
- OutputCacheProfile.cs
- LocalizableResourceBuilder.cs
- DateBoldEvent.cs
- Buffer.cs
- DynamicPropertyReader.cs
- InheritanceContextHelper.cs
- NotifyInputEventArgs.cs
- SafeHandles.cs
- RoutedEventValueSerializer.cs
- SmiMetaDataProperty.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- DescendentsWalkerBase.cs
- WebResourceAttribute.cs
- NameNode.cs
- LineUtil.cs
- InsufficientMemoryException.cs
- XmlTextWriter.cs
- ExpressionCopier.cs
- OptionUsage.cs
- EventPropertyMap.cs
- XmlBinaryReader.cs
- Resources.Designer.cs
- KeyBinding.cs
- TagNameToTypeMapper.cs
- XmlSchemaInfo.cs
- DataGridItem.cs
- RegexNode.cs
- CodeEntryPointMethod.cs
- XmlAttributeAttribute.cs
- DbParameterHelper.cs
- TypeRestriction.cs
- Bind.cs
- InkCanvasSelectionAdorner.cs
- VirtualDirectoryMappingCollection.cs