Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Data / DataTransferEventArgs.cs / 1 / DataTransferEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: DataTransfer event arguments // // Specs: [....]/connecteddata/M5%20Specs/UIBinding.mht // //--------------------------------------------------------------------------- using System; namespace System.Windows.Data { ////// Arguments for DataTransfer events such as TargetUpdated or SourceUpdated. /// ////// public class DataTransferEventArgs : RoutedEventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- internal DataTransferEventArgs(DependencyObject targetObject, DependencyProperty dp) : base() { _targetObject = targetObject; _dp = dp; } //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- ///The TargetUpdated event is raised whenever a value is transferred from the source to the target, /// (but only for bindings that have requested the event, by setting BindFlags.NotifyOnTargetUpdated).
///The SourceUpdated event is raised whenever a value is transferred from the target to the source, /// (but only for bindings that have requested the event, by setting BindFlags.NotifyOnSourceUpdated).
////// The target object of the binding that raised the event. /// public DependencyObject TargetObject { get { return _targetObject; } } ////// The target property of the binding that raised the event. /// public DependencyProperty Property { get { return _dp; } } //------------------------------------------------------ // // Protected Methods // //------------------------------------------------------ ////// The mechanism used to call the type-specific handler on the /// target. /// /// /// The generic handler to call in a type-specific way. /// /// /// The target to call the handler on. /// protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) { EventHandlerhandler = (EventHandler ) genericHandler; handler(genericTarget, this); } //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ private DependencyObject _targetObject; private DependencyProperty _dp; } } // 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
- SymLanguageType.cs
- LineInfo.cs
- DataSourceCacheDurationConverter.cs
- SocketException.cs
- Timer.cs
- StateDesigner.Layouts.cs
- CodeComment.cs
- StreamReader.cs
- GeometryCombineModeValidation.cs
- RijndaelCryptoServiceProvider.cs
- MeasureItemEvent.cs
- HttpContextServiceHost.cs
- LogWriteRestartAreaState.cs
- PersonalizationProviderHelper.cs
- MemoryMappedFileSecurity.cs
- ExpressionEvaluator.cs
- TripleDESCryptoServiceProvider.cs
- TrackingLocationCollection.cs
- TemplatedMailWebEventProvider.cs
- CharKeyFrameCollection.cs
- SchemaAttDef.cs
- TextRunCacheImp.cs
- NetTcpSectionData.cs
- SmtpDigestAuthenticationModule.cs
- Solver.cs
- XmlParserContext.cs
- XPathDocumentNavigator.cs
- tooltip.cs
- Panel.cs
- InstanceLockLostException.cs
- UnlockInstanceCommand.cs
- SizeChangedInfo.cs
- UnauthorizedWebPart.cs
- XslNumber.cs
- SQLStringStorage.cs
- DataGridViewCellEventArgs.cs
- securitycriticaldata.cs
- HtmlInputFile.cs
- TextParagraph.cs
- OutputCacheModule.cs
- CryptoKeySecurity.cs
- XamlToRtfWriter.cs
- Math.cs
- ToolStripDropDownMenu.cs
- DataGridItemEventArgs.cs
- TreeView.cs
- WebPartVerb.cs
- MouseActionConverter.cs
- StrokeRenderer.cs
- WindowsIPAddress.cs
- ClientTargetCollection.cs
- activationcontext.cs
- StylusCaptureWithinProperty.cs
- DefaultCommandConverter.cs
- _UriSyntax.cs
- ExitEventArgs.cs
- MetafileHeader.cs
- DesignTimeParseData.cs
- HttpModulesSection.cs
- util.cs
- XmlAggregates.cs
- EntitySetBase.cs
- MissingManifestResourceException.cs
- ExplicitDiscriminatorMap.cs
- AspNetCompatibilityRequirementsAttribute.cs
- Zone.cs
- ThreadStaticAttribute.cs
- ToolBarPanel.cs
- CharacterBuffer.cs
- WebProxyScriptElement.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- DateTimeFormatInfo.cs
- GenerateHelper.cs
- FileUtil.cs
- entityreference_tresulttype.cs
- SurrogateSelector.cs
- OdbcPermission.cs
- DataGridState.cs
- DataGridView.cs
- Int32RectConverter.cs
- ClassHandlersStore.cs
- QueryableDataSourceView.cs
- BitmapEffectDrawingContextState.cs
- PublishLicense.cs
- BamlStream.cs
- WebColorConverter.cs
- LinqTreeNodeEvaluator.cs
- ImageButton.cs
- StringCollection.cs
- ToolboxItemCollection.cs
- WaitHandleCannotBeOpenedException.cs
- SqlUtils.cs
- PersianCalendar.cs
- DataSourceXmlSubItemAttribute.cs
- DisplayNameAttribute.cs
- BaseServiceProvider.cs
- AssemblyHelper.cs
- Model3DCollection.cs
- WebExceptionStatus.cs
- EarlyBoundInfo.cs