点击或拖拽改变大小

MouseEventArgs 构造函数 (UIElement, Boolean, Boolean, Boolean, Point, MouseDevice)

初始化 MouseEventArgs 类的一个新实例

命名空间:  CPF.Input
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public MouseEventArgs(
	UIElement source,
	bool LeftButtonDown,
	bool RightButtonDown,
	bool MiddleButtonDown,
	Point location,
	MouseDevice mouseDevice
)

参数

source
类型:CPFUIElement

[缺少 "M:CPF.Input.MouseEventArgs.#ctor(CPF.UIElement,System.Boolean,System.Boolean,System.Boolean,CPF.Drawing.Point,CPF.Input.MouseDevice)" 的 <param name="source"/> 文档]

LeftButtonDown
类型:SystemBoolean

[缺少 "M:CPF.Input.MouseEventArgs.#ctor(CPF.UIElement,System.Boolean,System.Boolean,System.Boolean,CPF.Drawing.Point,CPF.Input.MouseDevice)" 的 <param name="LeftButtonDown"/> 文档]

RightButtonDown
类型:SystemBoolean

[缺少 "M:CPF.Input.MouseEventArgs.#ctor(CPF.UIElement,System.Boolean,System.Boolean,System.Boolean,CPF.Drawing.Point,CPF.Input.MouseDevice)" 的 <param name="RightButtonDown"/> 文档]

MiddleButtonDown
类型:SystemBoolean

[缺少 "M:CPF.Input.MouseEventArgs.#ctor(CPF.UIElement,System.Boolean,System.Boolean,System.Boolean,CPF.Drawing.Point,CPF.Input.MouseDevice)" 的 <param name="MiddleButtonDown"/> 文档]

location
类型:CPF.DrawingPoint

[缺少 "M:CPF.Input.MouseEventArgs.#ctor(CPF.UIElement,System.Boolean,System.Boolean,System.Boolean,CPF.Drawing.Point,CPF.Input.MouseDevice)" 的 <param name="location"/> 文档]

mouseDevice
类型:CPF.InputMouseDevice

[缺少 "M:CPF.Input.MouseEventArgs.#ctor(CPF.UIElement,System.Boolean,System.Boolean,System.Boolean,CPF.Drawing.Point,CPF.Input.MouseDevice)" 的 <param name="mouseDevice"/> 文档]

参见