点击或拖拽改变大小

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

初始化 MouseEventArgs 类的一个新实例

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

参数

device
类型:CPF.InputInputDevice

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

source
类型:CPFUIElement

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

LeftButtonDown
类型:SystemBoolean

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

RightButtonDown
类型:SystemBoolean

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

MiddleButtonDown
类型:SystemBoolean

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

location
类型:CPF.DrawingPoint

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

参见