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
- XmlSchemaValidationException.cs
- TextServicesPropertyRanges.cs
- ViewGenerator.cs
- ArrayHelper.cs
- XmlSchemaIdentityConstraint.cs
- TimestampInformation.cs
- PictureBox.cs
- ActiveXContainer.cs
- GridEntry.cs
- HwndSourceKeyboardInputSite.cs
- DataMember.cs
- ActivityAction.cs
- DefinitionBase.cs
- Context.cs
- WindowsRichEditRange.cs
- PathStreamGeometryContext.cs
- TypeConverter.cs
- HtmlTableCell.cs
- IgnorePropertiesAttribute.cs
- InputProviderSite.cs
- QueryInterceptorAttribute.cs
- TextSelectionHelper.cs
- StructuredTypeEmitter.cs
- CommandHelper.cs
- ArrangedElementCollection.cs
- SecurityKeyType.cs
- XdrBuilder.cs
- WebPartConnection.cs
- ConnectionOrientedTransportManager.cs
- OleDbCommand.cs
- TextServicesCompartmentEventSink.cs
- SchemaMapping.cs
- IDQuery.cs
- Timer.cs
- SafeEventLogWriteHandle.cs
- StructuralCache.cs
- TextTreeText.cs
- MethodAccessException.cs
- Variable.cs
- ArgumentOutOfRangeException.cs
- altserialization.cs
- XmlAnyAttributeAttribute.cs
- Activity.cs
- SoapAttributes.cs
- ReturnEventArgs.cs
- EntityDataSourceWrapperCollection.cs
- NamespaceTable.cs
- EnvironmentPermission.cs
- Int32CAMarshaler.cs
- MemoryFailPoint.cs
- XmlSchemaComplexContent.cs
- LinkedList.cs
- ContextStack.cs
- XmlSchemaObjectCollection.cs
- UIElementHelper.cs
- RegexWorker.cs
- ToReply.cs
- Model3DCollection.cs
- LicenseProviderAttribute.cs
- Light.cs
- ComplexType.cs
- SQlBooleanStorage.cs
- InputMethodStateTypeInfo.cs
- StylusPlugInCollection.cs
- QueryStringParameter.cs
- DataServiceException.cs
- SiteMembershipCondition.cs
- DataGridViewButtonColumn.cs
- ColumnWidthChangingEvent.cs
- ScriptModule.cs
- FormsAuthenticationUser.cs
- HuffModule.cs
- XmlToDatasetMap.cs
- SmiEventStream.cs
- StylusPointPropertyId.cs
- FrameworkElementFactoryMarkupObject.cs
- XmlSchemaSimpleContent.cs
- SingleAnimationBase.cs
- RevocationPoint.cs
- ApplicationInfo.cs
- UserNameSecurityTokenProvider.cs
- HtmlInputReset.cs
- EncryptedType.cs
- IisTraceListener.cs
- VSWCFServiceContractGenerator.cs
- DoubleStorage.cs
- NoneExcludedImageIndexConverter.cs
- NotificationContext.cs
- SettingsPropertyCollection.cs
- ConnectionString.cs
- ControlAdapter.cs
- FieldToken.cs
- BitmapDecoder.cs
- codemethodreferenceexpression.cs
- Rotation3DAnimationBase.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- XPathNavigatorReader.cs
- EventProviderWriter.cs
- CustomErrorsSection.cs
- BatchParser.cs