Expander.Expanding 事件

定义

展开器 的内容区域开始显示时发生。

本文档适用于 Windows 应用 SDKWinUI 的 WinUI 2 for UWP (,请参阅Windows 应用 SDK命名空间) 。

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token Expanding(TypedEventHandler<Expander, ExpanderExpandingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
Expander::Expanding_revoker Expanding(auto_revoke_t, TypedEventHandler<Expander, ExpanderExpandingEventArgs const&> const& handler) const;
// Register
event_token Expanding(TypedEventHandler<Expander, ExpanderExpandingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
Expander::Expanding_revoker Expanding(auto_revoke_t, TypedEventHandler<Expander, ExpanderExpandingEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<Expander,ExpanderExpandingEventArgs> Expanding;
public event TypedEventHandler<Expander,ExpanderExpandingEventArgs> Expanding;
Public Custom Event Expanding As TypedEventHandler(Of Expander, ExpanderExpandingEventArgs) 

事件类型

属性

适用于