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
- CompilerParameters.cs
- ActivityMarkupSerializer.cs
- XmlEncApr2001.cs
- DataGridCellsPresenter.cs
- InheritanceContextHelper.cs
- SessionPageStatePersister.cs
- WebMessageEncodingElement.cs
- LineServicesRun.cs
- Comparer.cs
- AssemblyCollection.cs
- Scalars.cs
- TextServicesContext.cs
- BitmapData.cs
- _FixedSizeReader.cs
- RegistryPermission.cs
- BuildProviderAppliesToAttribute.cs
- XmlDataSourceView.cs
- PropertyEmitter.cs
- XmlAnyAttributeAttribute.cs
- TextAdaptor.cs
- ListViewInsertionMark.cs
- EntityViewGenerator.cs
- SqlCachedBuffer.cs
- ProcessModelInfo.cs
- DNS.cs
- FacetChecker.cs
- altserialization.cs
- GraphicsContext.cs
- Polyline.cs
- ChildrenQuery.cs
- IMembershipProvider.cs
- AssociatedControlConverter.cs
- Vars.cs
- HMAC.cs
- MaskDescriptors.cs
- LayoutEngine.cs
- TableTextElementCollectionInternal.cs
- CryptoHelper.cs
- LinkLabelLinkClickedEvent.cs
- ToolStripDropDownClosingEventArgs.cs
- XmlSchemaSimpleContent.cs
- DBSqlParserColumnCollection.cs
- StateFinalizationActivity.cs
- ResourcesGenerator.cs
- SecurityTokenProviderContainer.cs
- DataGridAutoFormatDialog.cs
- EnterpriseServicesHelper.cs
- DeviceContexts.cs
- SchemaImporter.cs
- LogReserveAndAppendState.cs
- ZoneLinkButton.cs
- DataGridViewRowConverter.cs
- GeneratedContractType.cs
- TaiwanCalendar.cs
- UInt16Converter.cs
- RegexStringValidatorAttribute.cs
- SchemaLookupTable.cs
- DiscoveryInnerClientManaged11.cs
- LambdaCompiler.Unary.cs
- DeferredSelectedIndexReference.cs
- GZipStream.cs
- TraceRecord.cs
- KeyPressEvent.cs
- EndpointDispatcherTable.cs
- XsdDataContractImporter.cs
- AnchoredBlock.cs
- ComponentRenameEvent.cs
- PropertyTabAttribute.cs
- ListViewItem.cs
- CodeTypeConstructor.cs
- RightsManagementPermission.cs
- Scalars.cs
- WpfKnownType.cs
- HttpRequest.cs
- Parser.cs
- XXXInfos.cs
- QueryResponse.cs
- XmlSignificantWhitespace.cs
- BindingSourceDesigner.cs
- RedirectionProxy.cs
- Int32RectConverter.cs
- ButtonFieldBase.cs
- RawStylusSystemGestureInputReport.cs
- BatchServiceHost.cs
- ExtensibleClassFactory.cs
- BinaryFormatterWriter.cs
- NetworkCredential.cs
- WebPartTransformer.cs
- XmlSubtreeReader.cs
- Animatable.cs
- HttpResponseWrapper.cs
- ApplicationFileParser.cs
- OracleTimeSpan.cs
- Int32.cs
- TransformPatternIdentifiers.cs
- SelectionHighlightInfo.cs
- HttpResponse.cs
- Divide.cs
- TabOrder.cs
- XamlSerializerUtil.cs