Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / QueryCursorEventArgs.cs / 1305600 / QueryCursorEventArgs.cs
using System; namespace System.Windows.Input { ////// Provides data for the QueryCursor event. /// public class QueryCursorEventArgs : MouseEventArgs { ////// Initializes a new instance of the QueryCursorEventArgs class. /// /// /// The logical Mouse device associated with this event. /// /// /// The time when the input occured. /// public QueryCursorEventArgs(MouseDevice mouse, int timestamp) : base(mouse, timestamp) { } ////// Initializes a new instance of the QueryCursorEventArgs class. /// /// /// The logical Mouse device associated with this event. /// /// /// The time when the input occured. /// /// /// The stylus pointer that was involved with this event. /// public QueryCursorEventArgs(MouseDevice mouse, int timestamp, StylusDevice stylusDevice) : base(mouse, timestamp, stylusDevice) { } ////// The cursor to set. /// public Cursor Cursor { get {return _cursor;} set {_cursor = ((value == null) ? Cursors.None : value);} } ////// 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) { QueryCursorEventHandler handler = (QueryCursorEventHandler) genericHandler; handler(genericTarget, this); } private Cursor _cursor; } } // 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
- WindowsToolbarItemAsMenuItem.cs
- XmlSchemaSubstitutionGroup.cs
- MethodBody.cs
- IInstanceTable.cs
- AttributeData.cs
- TextStore.cs
- SerialPinChanges.cs
- StrongTypingException.cs
- Adorner.cs
- SoapAttributeAttribute.cs
- FixedPageStructure.cs
- EntityModelBuildProvider.cs
- BitVector32.cs
- EnumUnknown.cs
- ReadOnlyMetadataCollection.cs
- SystemSounds.cs
- CalendarDesigner.cs
- _IPv4Address.cs
- SimpleWebHandlerParser.cs
- PageAsyncTask.cs
- AppDomainProtocolHandler.cs
- IISMapPath.cs
- HttpCapabilitiesEvaluator.cs
- Monitor.cs
- ShapeTypeface.cs
- MdiWindowListItemConverter.cs
- MemberDomainMap.cs
- OdbcConnectionOpen.cs
- MouseBinding.cs
- OrderByBuilder.cs
- SqlServices.cs
- Blend.cs
- DataGridViewEditingControlShowingEventArgs.cs
- PreloadedPackages.cs
- ListItemDetailViewAttribute.cs
- XsltContext.cs
- TransformCollection.cs
- WebChannelFactory.cs
- SignatureToken.cs
- PolygonHotSpot.cs
- ListViewInsertEventArgs.cs
- SkewTransform.cs
- PingReply.cs
- PlacementWorkspace.cs
- PolyQuadraticBezierSegment.cs
- latinshape.cs
- KeyedHashAlgorithm.cs
- JpegBitmapEncoder.cs
- FormsAuthenticationModule.cs
- ADMembershipUser.cs
- TargetConverter.cs
- LogWriteRestartAreaState.cs
- BitmapPalette.cs
- DefaultShape.cs
- ProgressChangedEventArgs.cs
- CqlGenerator.cs
- SoapHeaders.cs
- iisPickupDirectory.cs
- TypeReference.cs
- PropertyRecord.cs
- PasswordBox.cs
- EndpointDiscoveryBehavior.cs
- CompositeCollectionView.cs
- SmiEventSink_DeferedProcessing.cs
- TreeIterator.cs
- DocumentViewerBase.cs
- ErrorStyle.cs
- EqualityComparer.cs
- OdbcConnectionHandle.cs
- DPTypeDescriptorContext.cs
- MappedMetaModel.cs
- StringValidator.cs
- HtmlInputRadioButton.cs
- WebPermission.cs
- MediaTimeline.cs
- SQLMoneyStorage.cs
- SwitchAttribute.cs
- WeakHashtable.cs
- WindowsSolidBrush.cs
- Interlocked.cs
- DelegatedStream.cs
- DataGridViewImageColumn.cs
- CodeDirectiveCollection.cs
- ImageAnimator.cs
- ZipIOExtraFieldElement.cs
- SchemaNames.cs
- HttpRequestCacheValidator.cs
- WebPermission.cs
- Propagator.cs
- ImageInfo.cs
- DataPager.cs
- ImageAutomationPeer.cs
- XmlILIndex.cs
- PointCollectionValueSerializer.cs
- ThumbButtonInfoCollection.cs
- HwndProxyElementProvider.cs
- linebase.cs
- FileUtil.cs
- ViewSimplifier.cs
- ByteFacetDescriptionElement.cs