EditModeSwitchButton.OnMouseDown 方法

引发 MouseDown 事件。

命名空间:  Microsoft.Windows.Design.PropertyEditing
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Protected Overrides Sub OnMouseDown ( _
    e As MouseButtonEventArgs _
)
protected override void OnMouseDown(
    MouseButtonEventArgs e
)
protected:
virtual void OnMouseDown(
    MouseButtonEventArgs^ e
) override
abstract OnMouseDown : 
        e:MouseButtonEventArgs -> unit 
override OnMouseDown : 
        e:MouseButtonEventArgs -> unit 
protected override function OnMouseDown(
    e : MouseButtonEventArgs
)

参数

备注

因为弹出编辑器具有捕获鼠标并在用户单击编辑器以外的区域时会消失的特性,若要固定 ExtendedEditor,应使用 MouseDown 事件而不是 Click 事件。

.NET Framework 安全性

请参见

参考

EditModeSwitchButton 类

Microsoft.Windows.Design.PropertyEditing 命名空间

其他资源

属性编辑体系结构

WPF 设计器扩展性