共用方式為


RibbonQuickAccessToolBar.AddCloneHandler 方法

定義

新增 Clone 路由事件的處理常式。

public:
 static void AddCloneHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::Ribbon::RibbonQuickAccessToolBarCloneEventHandler ^ handler);
public static void AddCloneHandler (System.Windows.DependencyObject element, System.Windows.Controls.Ribbon.RibbonQuickAccessToolBarCloneEventHandler handler);
static member AddCloneHandler : System.Windows.DependencyObject * System.Windows.Controls.Ribbon.RibbonQuickAccessToolBarCloneEventHandler -> unit
Public Shared Sub AddCloneHandler (element As DependencyObject, handler As RibbonQuickAccessToolBarCloneEventHandler)

參數

element
DependencyObject

要在其中加入事件的項目。

handler
RibbonQuickAccessToolBarCloneEventHandler

要加入的事件處理常式。

適用於