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
- DbConnectionStringCommon.cs
- AsyncPostBackTrigger.cs
- DllNotFoundException.cs
- ObjectViewEntityCollectionData.cs
- IndentedWriter.cs
- DataGrid.cs
- TargetException.cs
- ConfigurationSection.cs
- SymLanguageVendor.cs
- FontFamily.cs
- MaskInputRejectedEventArgs.cs
- SpellerError.cs
- Application.cs
- FormViewDeleteEventArgs.cs
- Baml6ConstructorInfo.cs
- MouseButtonEventArgs.cs
- DataKey.cs
- ObjectCloneHelper.cs
- TypedServiceChannelBuilder.cs
- ReadContentAsBinaryHelper.cs
- ADMembershipProvider.cs
- TextViewBase.cs
- SplineKeyFrames.cs
- XmlSerializerSection.cs
- CheckBoxAutomationPeer.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Panel.cs
- UnsafeNativeMethodsTablet.cs
- User.cs
- DocumentViewerConstants.cs
- BindableTemplateBuilder.cs
- System.Data.OracleClient_BID.cs
- ApplicationServiceHelper.cs
- StrokeCollection.cs
- EditorZoneBase.cs
- HwndMouseInputProvider.cs
- ElementUtil.cs
- TableFieldsEditor.cs
- DateTimeFormatInfoScanner.cs
- NotifyInputEventArgs.cs
- SubMenuStyleCollection.cs
- Splitter.cs
- BindingCollectionElement.cs
- SqlDelegatedTransaction.cs
- DockPattern.cs
- SelectionGlyphBase.cs
- CodeBinaryOperatorExpression.cs
- PersonalizationState.cs
- HtmlLink.cs
- ClientTargetCollection.cs
- XmlNamespaceMappingCollection.cs
- PropertyKey.cs
- processwaithandle.cs
- LineInfo.cs
- BaseConfigurationRecord.cs
- MouseGestureConverter.cs
- PathStreamGeometryContext.cs
- DataRelation.cs
- Point3DCollectionConverter.cs
- TagPrefixAttribute.cs
- TraceHandlerErrorFormatter.cs
- TdsValueSetter.cs
- XPathNavigator.cs
- AmbientProperties.cs
- ActivityDesignerHighlighter.cs
- ContainerVisual.cs
- Part.cs
- CngProperty.cs
- ClientScriptItemCollection.cs
- AssertFilter.cs
- InfoCardTraceRecord.cs
- CodeExpressionRuleDeclaration.cs
- BridgeDataReader.cs
- MessageEnumerator.cs
- BindingListCollectionView.cs
- ISO2022Encoding.cs
- NativeRecognizer.cs
- VoiceSynthesis.cs
- UIElement.cs
- TypeNameConverter.cs
- XmlValidatingReader.cs
- ProbeMatchesMessage11.cs
- TextControlDesigner.cs
- SignerInfo.cs
- BitmapMetadataEnumerator.cs
- Roles.cs
- ExtensibleClassFactory.cs
- EntityDataSourceWizardForm.cs
- LockCookie.cs
- WindowsSolidBrush.cs
- AdRotator.cs
- FrameSecurityDescriptor.cs
- ResourceKey.cs
- WebRequestModuleElementCollection.cs
- HtmlImageAdapter.cs
- DataSourceSerializationException.cs
- WebPartConnectionsEventArgs.cs
- MessageQueueException.cs
- Pen.cs
- PropVariant.cs