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
- ImportDesigner.xaml.cs
- ReceiveSecurityHeader.cs
- SystemResources.cs
- WindowsListViewItem.cs
- NetStream.cs
- XmlMapping.cs
- SqlUserDefinedTypeAttribute.cs
- Native.cs
- LinqExpressionNormalizer.cs
- HtmlToClrEventProxy.cs
- PluralizationServiceUtil.cs
- ToolboxComponentsCreatedEventArgs.cs
- WbmpConverter.cs
- HwndSource.cs
- OutputCacheSettingsSection.cs
- DynamicResourceExtensionConverter.cs
- WhitespaceRuleLookup.cs
- TypeBrowserDialog.cs
- TextEffectCollection.cs
- XmlText.cs
- StateItem.cs
- HttpCookieCollection.cs
- CursorInteropHelper.cs
- GenericEnumConverter.cs
- TextEditorLists.cs
- DataViewSettingCollection.cs
- ProgressiveCrcCalculatingStream.cs
- Crypto.cs
- ImageListStreamer.cs
- DependencyPropertyDescriptor.cs
- MediaTimeline.cs
- ParserStreamGeometryContext.cs
- MetadataItem_Static.cs
- XmlNamespaceMapping.cs
- DataGridSortCommandEventArgs.cs
- SqlEnums.cs
- OciHandle.cs
- InputLanguageEventArgs.cs
- ProxyWebPart.cs
- QilStrConcatenator.cs
- SchemaCollectionCompiler.cs
- Cursors.cs
- ToolStripGrip.cs
- FindCriteria.cs
- GACIdentityPermission.cs
- TableProvider.cs
- ContextMenuStripGroupCollection.cs
- LoginUtil.cs
- CodeNamespace.cs
- ColumnCollectionEditor.cs
- XmlQueryCardinality.cs
- URLBuilder.cs
- XmlParser.cs
- UnmanagedHandle.cs
- DefaultExpression.cs
- AstTree.cs
- PrintSystemException.cs
- FigureParagraph.cs
- NativeMethodsOther.cs
- ListItemCollection.cs
- ItemsPresenter.cs
- __Filters.cs
- oledbmetadatacolumnnames.cs
- CodeTypeOfExpression.cs
- ValueProviderWrapper.cs
- GridPattern.cs
- SocketAddress.cs
- LocatorBase.cs
- PlainXmlWriter.cs
- TextEffectCollection.cs
- AppDomainAttributes.cs
- SmiGettersStream.cs
- HttpMethodAttribute.cs
- SiteMapDataSource.cs
- FixedStringLookup.cs
- WhereaboutsReader.cs
- BuildResultCache.cs
- Root.cs
- ClientData.cs
- Bind.cs
- DataGridPageChangedEventArgs.cs
- FileRegion.cs
- PrimitiveXmlSerializers.cs
- ConversionValidationRule.cs
- ComponentGlyph.cs
- SerializableAttribute.cs
- FunctionOverloadResolver.cs
- TextEffect.cs
- DCSafeHandle.cs
- DbProviderFactoriesConfigurationHandler.cs
- LicFileLicenseProvider.cs
- SurrogateChar.cs
- FunctionMappingTranslator.cs
- IndexExpression.cs
- TrackingMemoryStreamFactory.cs
- BlobPersonalizationState.cs
- HuffmanTree.cs
- Helpers.cs
- MultiView.cs
- SecurityPolicySection.cs