Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / AutomationPropertyChangedEventArgs.cs / 1 / AutomationPropertyChangedEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: PropertyChanged event args class // // History: // 06/17/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace System.Windows.Automation { ////// Delegate to handle Automation Property change events /// #if (INTERNAL_COMPILE) internal delegate void AutomationPropertyChangedEventHandler( object sender, AutomationPropertyChangedEventArgs e ); #else public delegate void AutomationPropertyChangedEventHandler( object sender, AutomationPropertyChangedEventArgs e ); #endif ////// PropertyChanged event args class /// #if (INTERNAL_COMPILE) internal sealed class AutomationPropertyChangedEventArgs : AutomationEventArgs #else public sealed class AutomationPropertyChangedEventArgs : AutomationEventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for PropertyChanged event args. /// public AutomationPropertyChangedEventArgs(AutomationProperty property, object oldValue, object newValue) : base(AutomationElementIdentifiers.AutomationPropertyChangedEvent) { _oldValue = oldValue; _newValue = newValue; _property = property; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// Guid indicating which property changed. /// public AutomationProperty Property { get { return _property; } } ////// Old value of the property that changed /// public object OldValue { get { return _oldValue; } } ////// New value of the property that changed /// public object NewValue { get { return _newValue; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AutomationProperty _property; private object _oldValue; private object _newValue; #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: PropertyChanged event args class // // History: // 06/17/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using System.Windows.Automation; namespace System.Windows.Automation { ////// Delegate to handle Automation Property change events /// #if (INTERNAL_COMPILE) internal delegate void AutomationPropertyChangedEventHandler( object sender, AutomationPropertyChangedEventArgs e ); #else public delegate void AutomationPropertyChangedEventHandler( object sender, AutomationPropertyChangedEventArgs e ); #endif ////// PropertyChanged event args class /// #if (INTERNAL_COMPILE) internal sealed class AutomationPropertyChangedEventArgs : AutomationEventArgs #else public sealed class AutomationPropertyChangedEventArgs : AutomationEventArgs #endif { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Constructor for PropertyChanged event args. /// public AutomationPropertyChangedEventArgs(AutomationProperty property, object oldValue, object newValue) : base(AutomationElementIdentifiers.AutomationPropertyChangedEvent) { _oldValue = oldValue; _newValue = newValue; _property = property; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// Guid indicating which property changed. /// public AutomationProperty Property { get { return _property; } } ////// Old value of the property that changed /// public object OldValue { get { return _oldValue; } } ////// New value of the property that changed /// public object NewValue { get { return _newValue; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private AutomationProperty _property; private object _oldValue; private object _newValue; #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
- DocumentSequenceHighlightLayer.cs
- BlurEffect.cs
- SafeSecurityHelper.cs
- LocatorBase.cs
- RichTextBoxConstants.cs
- XamlPathDataSerializer.cs
- SQLMoneyStorage.cs
- Instrumentation.cs
- EnterpriseServicesHelper.cs
- TextCompositionManager.cs
- WebServiceEnumData.cs
- _SslSessionsCache.cs
- QueryCoreOp.cs
- GlobalEventManager.cs
- ListViewHitTestInfo.cs
- Thumb.cs
- UxThemeWrapper.cs
- DataTableTypeConverter.cs
- OverlappedContext.cs
- AssemblyAssociatedContentFileAttribute.cs
- KeyedCollection.cs
- BinaryCommonClasses.cs
- ConfigurationConverterBase.cs
- ReadOnlyDictionary.cs
- BitmapEffectState.cs
- SectionVisual.cs
- SiteMapNodeItemEventArgs.cs
- IFlowDocumentViewer.cs
- CachedBitmap.cs
- EventDescriptor.cs
- XPathNodeHelper.cs
- BitArray.cs
- CodeObjectCreateExpression.cs
- ColorConvertedBitmap.cs
- IISMapPath.cs
- NumberFormatter.cs
- ToolboxComponentsCreatedEventArgs.cs
- ListViewTableRow.cs
- EditorBrowsableAttribute.cs
- FileRecordSequenceCompletedAsyncResult.cs
- ConfigurationUtility.cs
- TextStore.cs
- ScrollBarRenderer.cs
- DataTransferEventArgs.cs
- ClientConvert.cs
- DataServiceRequestException.cs
- GeometryCollection.cs
- HostingPreferredMapPath.cs
- ServiceDeploymentInfo.cs
- RandomNumberGenerator.cs
- Double.cs
- MyContact.cs
- SvcMapFileSerializer.cs
- Oid.cs
- LayoutEngine.cs
- InputReport.cs
- RecommendedAsConfigurableAttribute.cs
- TypePresenter.xaml.cs
- XPathQilFactory.cs
- EarlyBoundInfo.cs
- DependencyObjectType.cs
- XmlNodeComparer.cs
- UrlPropertyAttribute.cs
- DateTimeFormat.cs
- SecurityTokenRequirement.cs
- Point3D.cs
- XPathEmptyIterator.cs
- RoutedEventHandlerInfo.cs
- TreeNodeSelectionProcessor.cs
- PointConverter.cs
- FontEmbeddingManager.cs
- sqlstateclientmanager.cs
- ResXBuildProvider.cs
- ConnectionPoolManager.cs
- ColumnHeader.cs
- ExtendedProperty.cs
- DesignBindingConverter.cs
- ErrorInfoXmlDocument.cs
- AutomationPropertyInfo.cs
- X509DefaultServiceCertificateElement.cs
- ToolStripComboBox.cs
- RegexMatch.cs
- LinkButton.cs
- Util.cs
- MessageSecurityVersionConverter.cs
- SerializationAttributes.cs
- DecimalConverter.cs
- ToolStripContentPanel.cs
- ColorConvertedBitmap.cs
- ManagedCodeMarkers.cs
- Attributes.cs
- validationstate.cs
- TableItemPattern.cs
- MenuEventArgs.cs
- CodeTypeParameterCollection.cs
- MediaElementAutomationPeer.cs
- MappingItemCollection.cs
- SqlBuilder.cs
- DataSourceView.cs
- IisHelper.cs