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
- StateDesigner.Helpers.cs
- EventSetterHandlerConverter.cs
- HwndSubclass.cs
- HostVisual.cs
- WebProxyScriptElement.cs
- storepermission.cs
- NavigateEvent.cs
- TextEffect.cs
- AutomationPropertyInfo.cs
- GroupDescription.cs
- ContextDataSourceContextData.cs
- BamlTreeUpdater.cs
- WorkflowApplicationEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- Journal.cs
- SignerInfo.cs
- InfoCardSchemas.cs
- EdmToObjectNamespaceMap.cs
- FragmentQueryKB.cs
- UpdateTracker.cs
- AlternateViewCollection.cs
- XPathDescendantIterator.cs
- EntityDataSourceContextCreatedEventArgs.cs
- JsonFormatWriterGenerator.cs
- DataTemplateSelector.cs
- PathTooLongException.cs
- StringInfo.cs
- Geometry3D.cs
- ComNativeDescriptor.cs
- WebPartConnectionsEventArgs.cs
- GetReadStreamResult.cs
- DiagnosticSection.cs
- CloudCollection.cs
- CodeMethodInvokeExpression.cs
- XmlSortKey.cs
- CompressEmulationStream.cs
- MessageSmuggler.cs
- PropertyInformationCollection.cs
- CodeAttributeArgument.cs
- Permission.cs
- DataBoundLiteralControl.cs
- ProcessHostMapPath.cs
- XmlDocumentFieldSchema.cs
- SmtpCommands.cs
- LineGeometry.cs
- PrintingPermissionAttribute.cs
- ListBoxChrome.cs
- StringExpressionSet.cs
- AsyncPostBackErrorEventArgs.cs
- SiteMapProvider.cs
- ErrorStyle.cs
- DbParameterCollectionHelper.cs
- RealizationContext.cs
- DataGridView.cs
- ListBase.cs
- EmptyEnumerator.cs
- KeyProperty.cs
- ExternalCalls.cs
- SchemaInfo.cs
- BoundsDrawingContextWalker.cs
- ReferenceConverter.cs
- Screen.cs
- EventTrigger.cs
- MarkedHighlightComponent.cs
- _ContextAwareResult.cs
- BitSet.cs
- ObjectSet.cs
- AttributeQuery.cs
- ProofTokenCryptoHandle.cs
- DataGridTable.cs
- DoubleLinkList.cs
- PagedDataSource.cs
- DataColumnPropertyDescriptor.cs
- SystemThemeKey.cs
- ConfigurationConverterBase.cs
- _FtpControlStream.cs
- DecimalAnimationUsingKeyFrames.cs
- HtmlControl.cs
- Calendar.cs
- dsa.cs
- FixedSOMTableRow.cs
- SelectionService.cs
- PropertyNames.cs
- TailCallAnalyzer.cs
- Propagator.JoinPropagator.cs
- SqlRewriteScalarSubqueries.cs
- BevelBitmapEffect.cs
- PopOutPanel.cs
- ContentDisposition.cs
- DbDataRecord.cs
- ListBindingConverter.cs
- ConfigXmlElement.cs
- BoundColumn.cs
- BreakRecordTable.cs
- CqlLexer.cs
- ByteRangeDownloader.cs
- RoutedUICommand.cs
- EUCJPEncoding.cs
- itemelement.cs
- ObjectReferenceStack.cs