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
- CryptoConfig.cs
- XmlSchemaSimpleTypeRestriction.cs
- OleServicesContext.cs
- DataGridBoolColumn.cs
- CombinedGeometry.cs
- DefinitionUpdate.cs
- PropertyValueEditor.cs
- HostedAspNetEnvironment.cs
- WindowsTooltip.cs
- HttpApplication.cs
- IResourceProvider.cs
- TemplateXamlParser.cs
- EntityDescriptor.cs
- TdsParserStateObject.cs
- PersonalizationProviderCollection.cs
- PlatformCulture.cs
- EntityProxyFactory.cs
- ComplexObject.cs
- PackUriHelper.cs
- Message.cs
- UrlMapping.cs
- Signature.cs
- XmlSignatureManifest.cs
- GZipStream.cs
- HtmlShim.cs
- Table.cs
- PagerSettings.cs
- WorkflowQueue.cs
- IncrementalHitTester.cs
- UnSafeCharBuffer.cs
- CompoundFileStreamReference.cs
- FrameworkContentElement.cs
- DataGridViewColumn.cs
- SafeReadContext.cs
- RequestCacheManager.cs
- GraphicsPath.cs
- EmbeddedObject.cs
- XsdBuilder.cs
- RegexInterpreter.cs
- DrawItemEvent.cs
- Crc32.cs
- IApplicationTrustManager.cs
- CaseInsensitiveOrdinalStringComparer.cs
- WindowsStatic.cs
- ModelItemDictionaryImpl.cs
- DispatchChannelSink.cs
- UnhandledExceptionEventArgs.cs
- DataGridViewButtonCell.cs
- SQLMoney.cs
- HybridDictionary.cs
- SspiSafeHandles.cs
- StateMachineDesignerPaint.cs
- MdiWindowListItemConverter.cs
- SimpleFieldTemplateFactory.cs
- GuidConverter.cs
- BindingListCollectionView.cs
- FieldAccessException.cs
- CommonRemoteMemoryBlock.cs
- RawStylusSystemGestureInputReport.cs
- LogicalExpr.cs
- ToolStripControlHost.cs
- QilName.cs
- Missing.cs
- EntitySqlException.cs
- XmlSignatureProperties.cs
- CodeVariableDeclarationStatement.cs
- OdbcEnvironmentHandle.cs
- StructuredType.cs
- WebServicesDescriptionAttribute.cs
- SqlTypeConverter.cs
- BuildManagerHost.cs
- TextElementEnumerator.cs
- externdll.cs
- HtmlImage.cs
- SafeFileMapViewHandle.cs
- DataBinding.cs
- SQLSingle.cs
- ScriptingWebServicesSectionGroup.cs
- CrossContextChannel.cs
- PropertyGrid.cs
- ConvertEvent.cs
- SafeNativeMethods.cs
- CompositeTypefaceMetrics.cs
- Int16Storage.cs
- RSACryptoServiceProvider.cs
- DrawingCollection.cs
- DataGridHeaderBorder.cs
- RuntimeIdentifierPropertyAttribute.cs
- Int16.cs
- CheckBox.cs
- ToolBar.cs
- FileDialog_Vista.cs
- XmlNullResolver.cs
- StringCollection.cs
- ZipIOCentralDirectoryBlock.cs
- Point3DConverter.cs
- HtmlEncodedRawTextWriter.cs
- TabletCollection.cs
- CompilerTypeWithParams.cs
- MetadataCache.cs