다음을 통해 공유


CancelMouseEventArgs Class

CancelMouseEventArgs Class

Provides data for cancelable mouse events.

Definition

Visual Basic .NET Public Class CancelMouseEventArgs
Inherits MouseEventArgs
C# public class CancelMouseEventArgs : MouseEventArgs
Managed C++ public __gc class CancelMouseEventArgs : public MouseEventArgs

Members Table

The following table lists the members exposed by the object.

Fields

Field Description
static (Shared in Visual Basic .NET)Empty Leave Site Represents an event with no event data. Inherited from EventArgs Leave Site.

Methods

Method Description
CancelMouseEventArgs Initializes a new instance of the CancelMouseEventArgs class.
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave Site Allows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
ToString Leave Site Returns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.

Properties

Property Description
Button Leave Site Gets which mouse button was pressed. Inherited from MouseEventArgs Leave Site.
Cancel Gets or sets a value that indicates whether the mouse event is canceled for the parent control.
Clicks Leave Site Gets the number of times the mouse button was pressed and released. Inherited from MouseEventArgs Leave Site.
Delta Leave Site Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel. Inherited from MouseEventArgs Leave Site.
X Leave Site Gets the x-coordinate of the mouse. Inherited from MouseEventArgs Leave Site.
Y Leave Site Gets the y-coordinate of the mouse. Inherited from MouseEventArgs Leave Site.

Inheritance Hierarchy

Object Leave Site

EventArgs Leave Site

MouseEventArgs Leave Site

CancelMouseEventArgs

Class Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also