Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / MS / Internal / Data / BindingValueChangedEventArgs.cs / 1305600 / BindingValueChangedEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: BindingValueChanged event arguments // // Specs: http://avalon/connecteddata/M5%20Specs/UIBinding.mht // //--------------------------------------------------------------------------- using System; namespace MS.Internal.Data { ////// Arguments for BindingValueChanged events. /// internal class BindingValueChangedEventArgs : EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- internal BindingValueChangedEventArgs(object oldValue, object newValue) : base() { _oldValue = oldValue; _newValue = newValue; } //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- ////// The old value of the binding. /// public object OldValue { get { return _oldValue; } } ////// The new value of the binding. /// public object NewValue { get { return _newValue; } } //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ private object _oldValue, _newValue; } } // 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: BindingValueChanged event arguments // // Specs: http://avalon/connecteddata/M5%20Specs/UIBinding.mht // //--------------------------------------------------------------------------- using System; namespace MS.Internal.Data { ////// Arguments for BindingValueChanged events. /// internal class BindingValueChangedEventArgs : EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- internal BindingValueChangedEventArgs(object oldValue, object newValue) : base() { _oldValue = oldValue; _newValue = newValue; } //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- ////// The old value of the binding. /// public object OldValue { get { return _oldValue; } } ////// The new value of the binding. /// public object NewValue { get { return _newValue; } } //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ private object _oldValue, _newValue; } } // 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
- CollectionsUtil.cs
- NativeMethods.cs
- SQLByte.cs
- WeakEventTable.cs
- WizardPanel.cs
- _NtlmClient.cs
- Visitor.cs
- SystemInformation.cs
- Panel.cs
- BodyGlyph.cs
- TypeUnloadedException.cs
- IIS7WorkerRequest.cs
- FrameworkElementFactoryMarkupObject.cs
- IDispatchConstantAttribute.cs
- CodeNamespace.cs
- PolicyManager.cs
- FunctionMappingTranslator.cs
- RowToFieldTransformer.cs
- AutomationElement.cs
- InvalidOperationException.cs
- IODescriptionAttribute.cs
- ACE.cs
- WindowsScroll.cs
- MetadataSource.cs
- SelectionChangedEventArgs.cs
- basevalidator.cs
- IncrementalCompileAnalyzer.cs
- NetworkInformationException.cs
- FlowDocumentScrollViewer.cs
- FormViewInsertedEventArgs.cs
- HyperLinkColumn.cs
- CurrencyWrapper.cs
- bidPrivateBase.cs
- MtomMessageEncoder.cs
- TextRangeAdaptor.cs
- SequenceRange.cs
- LogicalExpr.cs
- MergePropertyDescriptor.cs
- ZipIOModeEnforcingStream.cs
- FixedSchema.cs
- StringKeyFrameCollection.cs
- ConsoleCancelEventArgs.cs
- Parameter.cs
- XpsS0ValidatingLoader.cs
- RelationshipEndMember.cs
- DesignConnection.cs
- WithStatement.cs
- LambdaCompiler.Unary.cs
- SecurityHelper.cs
- UriWriter.cs
- TextBox.cs
- IDReferencePropertyAttribute.cs
- PropertyMetadata.cs
- HtmlValidatorAdapter.cs
- Point.cs
- ForeignKeyConstraint.cs
- BooleanAnimationUsingKeyFrames.cs
- SizeFConverter.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Attribute.cs
- QueryCursorEventArgs.cs
- PerfService.cs
- AffineTransform3D.cs
- WebRequest.cs
- XNameTypeConverter.cs
- SafeThemeHandle.cs
- LinearGradientBrush.cs
- MaterialGroup.cs
- MLangCodePageEncoding.cs
- TextElementEnumerator.cs
- TextView.cs
- StringKeyFrameCollection.cs
- SyndicationDeserializer.cs
- BulletChrome.cs
- AttributeEmitter.cs
- ConfigurationHandlersInstallComponent.cs
- CodeLabeledStatement.cs
- XmlSchemaSimpleContent.cs
- EntityDesignerBuildProvider.cs
- IPPacketInformation.cs
- AppearanceEditorPart.cs
- HtmlInputButton.cs
- ComponentTray.cs
- SpellerHighlightLayer.cs
- ManagementBaseObject.cs
- AutomationAttributeInfo.cs
- HierarchicalDataSourceDesigner.cs
- Identity.cs
- XamlClipboardData.cs
- CodeDomSerializerException.cs
- pingexception.cs
- CombinedTcpChannel.cs
- AutoGeneratedField.cs
- TextMarkerSource.cs
- ThaiBuddhistCalendar.cs
- BoundPropertyEntry.cs
- HttpHeaderCollection.cs
- ColorConverter.cs
- MediaEntryAttribute.cs
- OuterGlowBitmapEffect.cs