InkCanvas.SelectionResized 事件

定义

当用户调整笔划和/或元素的选择时发生。

public:
 event EventHandler ^ SelectionResized;
public event EventHandler SelectionResized;
member this.SelectionResized : EventHandler 
Public Custom Event SelectionResized As EventHandler 
Public Event SelectionResized As EventHandler 

事件类型

示例

以下示例取消选择用户重新调整所选内容大小后的所有项 InkCanvas

void inkCanvas1_SelectionResized(object sender, EventArgs e)
{
    inkCanvas1.Select(null, null);
}
Private Sub inkCanvas1_SelectionResized(ByVal sender As Object, ByVal e As EventArgs)

    inkCanvas1.Select(Nothing, Nothing)

End Sub

注解

在调整笔划和/或元素的大小后,将引发此事件。

相反,如果必须处理在调整笔划和/或元素大小之前调整所选内容大小的请求,请将 SelectionResizing 事件处理程序添加到事件。

适用于

另请参阅