Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / QueryCursorEventArgs.cs / 1 / 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
- CommandEventArgs.cs
- DockPatternIdentifiers.cs
- _SSPIWrapper.cs
- nulltextcontainer.cs
- PagerSettings.cs
- CompileLiteralTextParser.cs
- ItemCollection.cs
- SchemaName.cs
- DecimalConstantAttribute.cs
- RegistrySecurity.cs
- SessionChannels.cs
- MatrixTransform3D.cs
- UnicastIPAddressInformationCollection.cs
- Translator.cs
- UnhandledExceptionEventArgs.cs
- ImageBrush.cs
- SerializationObjectManager.cs
- QueryStringParameter.cs
- VisualBrush.cs
- MonitorWrapper.cs
- EdmScalarPropertyAttribute.cs
- HttpFormatExtensions.cs
- X509RawDataKeyIdentifierClause.cs
- RemoteWebConfigurationHostStream.cs
- XpsDocument.cs
- shaperfactoryquerycacheentry.cs
- CacheSection.cs
- SpeechSynthesizer.cs
- ExpressionVisitor.cs
- GifBitmapDecoder.cs
- OTFRasterizer.cs
- SqlHelper.cs
- BitmapVisualManager.cs
- ButtonChrome.cs
- SafeLibraryHandle.cs
- TypeSystem.cs
- AlignmentYValidation.cs
- ServiceObjectContainer.cs
- followingsibling.cs
- ToolboxComponentsCreatedEventArgs.cs
- MessageFilter.cs
- DesignerGenericWebPart.cs
- iisPickupDirectory.cs
- IfAction.cs
- DocumentsTrace.cs
- TreeViewAutomationPeer.cs
- XmlUtf8RawTextWriter.cs
- ConnectionPoolRegistry.cs
- ToolStripRenderer.cs
- UnsafeNativeMethods.cs
- WebPartsSection.cs
- DiscardableAttribute.cs
- Container.cs
- VersionValidator.cs
- DataException.cs
- WebPartHeaderCloseVerb.cs
- ContainerSelectorGlyph.cs
- BitSet.cs
- BitArray.cs
- ListParagraph.cs
- CheckBox.cs
- LocalizabilityAttribute.cs
- OlePropertyStructs.cs
- SQLDoubleStorage.cs
- StateDesigner.LayoutSelectionGlyph.cs
- BufferedWebEventProvider.cs
- UntypedNullExpression.cs
- AuthorizationRule.cs
- DivideByZeroException.cs
- MemoryStream.cs
- PackageDigitalSignature.cs
- BindableTemplateBuilder.cs
- xsdvalidator.cs
- DefaultPropertyAttribute.cs
- WeakReadOnlyCollection.cs
- ToolStripRenderEventArgs.cs
- TransformerTypeCollection.cs
- DataGridViewRowsAddedEventArgs.cs
- CodeEventReferenceExpression.cs
- XsdDataContractImporter.cs
- Graphics.cs
- SingleSelectRootGridEntry.cs
- Adorner.cs
- DesigntimeLicenseContext.cs
- ApplicationInfo.cs
- DocumentPage.cs
- XmlIlVisitor.cs
- TypeLibConverter.cs
- AtomContentProperty.cs
- MobileCategoryAttribute.cs
- AttachedPropertyInfo.cs
- CodeAttributeArgumentCollection.cs
- FontStyle.cs
- TextProperties.cs
- FontFamily.cs
- ThreadAttributes.cs
- UInt16Storage.cs
- DbMetaDataFactory.cs
- WinEventWrap.cs
- DbDataReader.cs