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
- ReaderWriterLock.cs
- DeviceFiltersSection.cs
- Process.cs
- AddInAttribute.cs
- ElementAtQueryOperator.cs
- TypeHelper.cs
- ZipArchive.cs
- baseshape.cs
- _NtlmClient.cs
- _BaseOverlappedAsyncResult.cs
- ScrollChangedEventArgs.cs
- XPathEmptyIterator.cs
- DesignerExtenders.cs
- Automation.cs
- EllipseGeometry.cs
- RelationshipConverter.cs
- SharedUtils.cs
- PropertyStore.cs
- WizardPanel.cs
- TableColumn.cs
- DataGridViewCellStateChangedEventArgs.cs
- DataObject.cs
- UserControlCodeDomTreeGenerator.cs
- Condition.cs
- XsltOutput.cs
- InstanceDataCollection.cs
- PasswordTextContainer.cs
- IxmlLineInfo.cs
- BitmapEffectDrawingContextWalker.cs
- CharacterHit.cs
- ResolvedKeyFrameEntry.cs
- DataListItemCollection.cs
- QuaternionValueSerializer.cs
- ParserOptions.cs
- ColumnBinding.cs
- ReverseQueryOperator.cs
- CellConstantDomain.cs
- ZipIORawDataFileBlock.cs
- WorkflowDesignerMessageFilter.cs
- EntityParameterCollection.cs
- SystemResourceKey.cs
- HttpSessionStateWrapper.cs
- EnlistmentState.cs
- MetadataExporter.cs
- TemplatedEditableDesignerRegion.cs
- TypeLoadException.cs
- GPPOINTF.cs
- RegularExpressionValidator.cs
- HttpHandlerAction.cs
- RangeValidator.cs
- ServiceObjectContainer.cs
- RuleRefElement.cs
- DocumentEventArgs.cs
- EntityUtil.cs
- Knowncolors.cs
- ProxyGenerationError.cs
- ListBoxAutomationPeer.cs
- DocumentViewerAutomationPeer.cs
- GridView.cs
- Pts.cs
- ICspAsymmetricAlgorithm.cs
- FileReader.cs
- DataBoundControlAdapter.cs
- SocketCache.cs
- EventProviderClassic.cs
- ConfigurationSettings.cs
- SystemIPAddressInformation.cs
- LineProperties.cs
- UrlUtility.cs
- Viewport2DVisual3D.cs
- SqlPersistenceProviderFactory.cs
- PropertyCollection.cs
- StringUtil.cs
- VectorCollectionValueSerializer.cs
- MenuItemBindingCollection.cs
- CompressionTransform.cs
- SystemFonts.cs
- IPPacketInformation.cs
- SessionStateSection.cs
- PersonalizableAttribute.cs
- InfiniteIntConverter.cs
- QilGeneratorEnv.cs
- WebPartConnectVerb.cs
- LogicalChannelCollection.cs
- SqlTopReducer.cs
- autovalidator.cs
- EmbeddedObject.cs
- CryptoConfig.cs
- ConfigurationException.cs
- FixedTextPointer.cs
- EffectiveValueEntry.cs
- DynamicDataExtensions.cs
- DbConnectionOptions.cs
- BoolExpressionVisitors.cs
- WorkingDirectoryEditor.cs
- BitmapFrameDecode.cs
- StaticSiteMapProvider.cs
- DefaultBinder.cs
- SiteMapDataSourceDesigner.cs
- XDeferredAxisSource.cs