InputNonClientPointerSource.RegionsChanged 事件

定义

在对窗口的非工作区中的区域的分区边界进行更改时发生。

// Register
event_token RegionsChanged(TypedEventHandler<InputNonClientPointerSource, NonClientRegionsChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void RegionsChanged(event_token const* cookie) const;

// Revoke with event_revoker
InputNonClientPointerSource::RegionsChanged_revoker RegionsChanged(auto_revoke_t, TypedEventHandler<InputNonClientPointerSource, NonClientRegionsChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<InputNonClientPointerSource,NonClientRegionsChangedEventArgs> RegionsChanged;
function onRegionsChanged(eventArgs) { /* Your code */ }
inputNonClientPointerSource.addEventListener("regionschanged", onRegionsChanged);
inputNonClientPointerSource.removeEventListener("regionschanged", onRegionsChanged);
- or -
inputNonClientPointerSource.onregionschanged = onRegionsChanged;
Public Custom Event RegionsChanged As TypedEventHandler(Of InputNonClientPointerSource, NonClientRegionsChangedEventArgs) 

事件类型

适用于