AutoResizedEventHandler 委托

定义

表示将处理 HwndSource 所引发的 AutoResized 事件的方法。Represents the method that will handle the AutoResized event raised by HwndSource.

public delegate void AutoResizedEventHandler(System::Object ^ sender, AutoResizedEventArgs ^ e);
public delegate void AutoResizedEventHandler(object sender, AutoResizedEventArgs e);
type AutoResizedEventHandler = delegate of obj * AutoResizedEventArgs -> unit
Public Delegate Sub AutoResizedEventHandler(sender As Object, e As AutoResizedEventArgs)

参数

sender
Object

事件源。The source of the event.

e
AutoResizedEventArgs

事件数据。The event data.

继承
AutoResizedEventHandler

注解

WPFWPF布局系统导致HwndSource自动调整大小时, 会引发事件。AutoResizedThe AutoResized event is raised when the WPFWPF layout system causes a HwndSource to resize automatically. 典型的处理程序实现会将大小更改传达给中HwndSource包含的 HWND。A typical handler implementation would communicate size changes to the HWND contained within the HwndSource.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅