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
- InputScopeNameConverter.cs
- XmlNamespaceManager.cs
- EventListenerClientSide.cs
- SiteMapSection.cs
- InstanceNormalEvent.cs
- NewExpression.cs
- ISessionStateStore.cs
- SystemPens.cs
- InstanceContext.cs
- ValueTypeFixupInfo.cs
- ManagementClass.cs
- Claim.cs
- ResourceDescriptionAttribute.cs
- ObjectReferenceStack.cs
- MediaElement.cs
- TreeViewDesigner.cs
- _WinHttpWebProxyDataBuilder.cs
- COM2EnumConverter.cs
- ListDictionaryInternal.cs
- TcpClientSocketManager.cs
- DataSourceView.cs
- ReachPageContentSerializerAsync.cs
- DataAccessor.cs
- OutputScope.cs
- FixedPageProcessor.cs
- ResourceBinder.cs
- LocalizeDesigner.cs
- IApplicationTrustManager.cs
- XmlUtilWriter.cs
- GridViewRowCollection.cs
- securestring.cs
- mongolianshape.cs
- InputMethodStateTypeInfo.cs
- InvalidWMPVersionException.cs
- ContentAlignmentEditor.cs
- Debugger.cs
- LicenseManager.cs
- RadioButtonRenderer.cs
- SchemaAttDef.cs
- WrappedIUnknown.cs
- Avt.cs
- EncodingInfo.cs
- OlePropertyStructs.cs
- DataDocumentXPathNavigator.cs
- TabControlEvent.cs
- RegexInterpreter.cs
- FlowLayout.cs
- EntitySqlException.cs
- TableAdapterManagerGenerator.cs
- EpmContentDeSerializer.cs
- oledbmetadatacolumnnames.cs
- AuthenticatingEventArgs.cs
- ScrollChrome.cs
- WinFormsUtils.cs
- NetworkCredential.cs
- WaitHandleCannotBeOpenedException.cs
- TextEditorDragDrop.cs
- TableRowGroup.cs
- TaskExtensions.cs
- Context.cs
- SystemTcpStatistics.cs
- SplineKeyFrames.cs
- ConfigurationStrings.cs
- RelationshipManager.cs
- NetCodeGroup.cs
- TextEmbeddedObject.cs
- MenuItemBinding.cs
- XmlSchemaImport.cs
- HtmlElementCollection.cs
- ExpressionVisitor.cs
- ListViewSelectEventArgs.cs
- MULTI_QI.cs
- XmlSchemaExporter.cs
- IPAddress.cs
- EDesignUtil.cs
- XmlQualifiedNameTest.cs
- TypeResolvingOptions.cs
- ParameterDataSourceExpression.cs
- XsdDataContractExporter.cs
- CryptographicAttribute.cs
- AnnotationComponentManager.cs
- ColumnMapProcessor.cs
- AutomationPatternInfo.cs
- WebBrowserSiteBase.cs
- Light.cs
- XmlValidatingReaderImpl.cs
- UnsafeNativeMethodsMilCoreApi.cs
- XmlEncoding.cs
- TreeViewItemAutomationPeer.cs
- WindowsStatusBar.cs
- DataGridColumnHeaderAutomationPeer.cs
- ActivityWithResultValueSerializer.cs
- Utility.cs
- OrderedEnumerableRowCollection.cs
- Timer.cs
- SafeHandles.cs
- ClassicBorderDecorator.cs
- UIElementIsland.cs
- StringCollection.cs
- Win32.cs