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
- CheckBox.cs
- ProviderConnectionPointCollection.cs
- PageRanges.cs
- DesignerProperties.cs
- CodeEntryPointMethod.cs
- BufferedGraphicsContext.cs
- WebDescriptionAttribute.cs
- VisualStyleElement.cs
- EnumerableWrapperWeakToStrong.cs
- PersianCalendar.cs
- DesignerAttributeInfo.cs
- NamespaceCollection.cs
- ThreadInterruptedException.cs
- CqlGenerator.cs
- ProjectedWrapper.cs
- DataControlFieldHeaderCell.cs
- MenuCommand.cs
- ListViewHitTestInfo.cs
- XmlSchemaType.cs
- HighlightVisual.cs
- SpeechEvent.cs
- COM2EnumConverter.cs
- StylusDevice.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- XmlSchemas.cs
- RenderData.cs
- NameValuePair.cs
- DataKey.cs
- StreamAsIStream.cs
- LifetimeServices.cs
- FrameAutomationPeer.cs
- StandardOleMarshalObject.cs
- ToolStripPanelRow.cs
- DeleteCardRequest.cs
- SHA256Managed.cs
- HtmlInputButton.cs
- ExpandCollapsePattern.cs
- SqlCommand.cs
- Int64KeyFrameCollection.cs
- GradientSpreadMethodValidation.cs
- LineGeometry.cs
- StreamSecurityUpgradeAcceptor.cs
- OleDbEnumerator.cs
- TraceSection.cs
- DockPanel.cs
- namescope.cs
- ProcessHostConfigUtils.cs
- __Filters.cs
- WebPartConnectionsConfigureVerb.cs
- SvcMapFileSerializer.cs
- UnsafeMethods.cs
- OpenTypeLayoutCache.cs
- ShaderEffect.cs
- MiniMapControl.xaml.cs
- BrowserCapabilitiesFactory.cs
- PageTheme.cs
- WindowsEditBoxRange.cs
- SqlInternalConnectionSmi.cs
- Terminate.cs
- InternalRelationshipCollection.cs
- CapabilitiesState.cs
- UriWriter.cs
- Compiler.cs
- WindowsButton.cs
- DocumentationServerProtocol.cs
- HttpFileCollectionWrapper.cs
- CacheVirtualItemsEvent.cs
- ObjRef.cs
- ASCIIEncoding.cs
- GifBitmapEncoder.cs
- WebBrowserNavigatedEventHandler.cs
- MessageBox.cs
- XPathChildIterator.cs
- PolyQuadraticBezierSegment.cs
- DashStyle.cs
- RowVisual.cs
- ToolboxCategoryItems.cs
- UInt16Converter.cs
- ClientRolePrincipal.cs
- SubclassTypeValidator.cs
- DataControlLinkButton.cs
- BamlRecordHelper.cs
- FormsAuthenticationModule.cs
- MenuItemCollection.cs
- FloaterParaClient.cs
- DebugViewWriter.cs
- XmlNodeChangedEventManager.cs
- LeftCellWrapper.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- FileIOPermission.cs
- RuntimeEnvironment.cs
- TrustLevelCollection.cs
- ShowExpandedMultiValueConverter.cs
- CTreeGenerator.cs
- DataSourceView.cs
- OdbcCommandBuilder.cs
- PinnedBufferMemoryStream.cs
- Error.cs
- SmiEventSink_Default.cs
- TcpHostedTransportConfiguration.cs