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
- ExtensionFile.cs
- ContactManager.cs
- SqlXml.cs
- SystemTcpStatistics.cs
- ParameterCollection.cs
- OrderedDictionary.cs
- OracleTimeSpan.cs
- WS2007HttpBindingCollectionElement.cs
- MergeFailedEvent.cs
- DifferencingCollection.cs
- RightsManagementEncryptedStream.cs
- Track.cs
- ProtocolViolationException.cs
- ApplyHostConfigurationBehavior.cs
- TextBoxBase.cs
- XmlDictionary.cs
- RtfNavigator.cs
- SimpleExpression.cs
- CookielessHelper.cs
- ApplicationFileParser.cs
- EmptyEnumerable.cs
- DataGridViewUtilities.cs
- ThreadExceptionDialog.cs
- DynamicMethod.cs
- ColorMatrix.cs
- DocumentPageHost.cs
- ValidationError.cs
- UpdateCommand.cs
- ToolStripContainer.cs
- AxHost.cs
- MailWebEventProvider.cs
- dataprotectionpermissionattribute.cs
- rsa.cs
- GraphicsContainer.cs
- ReaderWriterLockWrapper.cs
- JumpItem.cs
- ImportCatalogPart.cs
- BitmapScalingModeValidation.cs
- WCFServiceClientProxyGenerator.cs
- HandlerBase.cs
- QuaternionIndependentAnimationStorage.cs
- HttpResponseInternalWrapper.cs
- ExpressionBinding.cs
- PageCodeDomTreeGenerator.cs
- GiveFeedbackEvent.cs
- CopyOnWriteList.cs
- JapaneseLunisolarCalendar.cs
- EntityWrapperFactory.cs
- Deserializer.cs
- EventManager.cs
- SineEase.cs
- StringCollection.cs
- PropertyCondition.cs
- LabelAutomationPeer.cs
- Random.cs
- ButtonBase.cs
- CodeTypeConstructor.cs
- DoubleAnimationUsingKeyFrames.cs
- BaseParagraph.cs
- StringUtil.cs
- StorageMappingItemCollection.cs
- GridViewRowEventArgs.cs
- SafeLocalAllocation.cs
- ControlPager.cs
- UserControlParser.cs
- RegisteredArrayDeclaration.cs
- Filter.cs
- XmlnsPrefixAttribute.cs
- AsyncStreamReader.cs
- SimpleWebHandlerParser.cs
- cookiecollection.cs
- StreamResourceInfo.cs
- XmlCharCheckingWriter.cs
- ComponentDispatcher.cs
- SubtreeProcessor.cs
- EventToken.cs
- WCFModelStrings.Designer.cs
- MultipartContentParser.cs
- OleDbRowUpdatingEvent.cs
- GenericQueueSurrogate.cs
- XsltContext.cs
- ErrorsHelper.cs
- XmlAnyAttributeAttribute.cs
- QueryRewriter.cs
- ProviderConnectionPointCollection.cs
- SchemaConstraints.cs
- MeasurementDCInfo.cs
- FontConverter.cs
- DateTimeUtil.cs
- DeclaredTypeElementCollection.cs
- TreeNodeEventArgs.cs
- RequestDescription.cs
- Compiler.cs
- EmptyStringExpandableObjectConverter.cs
- SqlNotificationRequest.cs
- EpmContentDeSerializerBase.cs
- PointAnimation.cs
- StoreContentChangedEventArgs.cs
- SoapRpcServiceAttribute.cs
- ExpressionBuilderCollection.cs