RibbonQuickAccessToolBar.AddCloneHandler Method
Adds a handler for the Clone routed event.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Shared Sub AddCloneHandler ( _
element As DependencyObject, _
handler As RibbonQuickAccessToolBarCloneEventHandler _
)
public static void AddCloneHandler(
DependencyObject element,
RibbonQuickAccessToolBarCloneEventHandler handler
)
public:
static void AddCloneHandler(
DependencyObject^ element,
RibbonQuickAccessToolBarCloneEventHandler^ handler
)
static member AddCloneHandler :
element:DependencyObject *
handler:RibbonQuickAccessToolBarCloneEventHandler -> unit
public static function AddCloneHandler(
element : DependencyObject,
handler : RibbonQuickAccessToolBarCloneEventHandler
)
Parameters
- element
Type: System.Windows.DependencyObject
The element to add the event to.
- handler
Type: Microsoft.Windows.Controls.Ribbon.RibbonQuickAccessToolBarCloneEventHandler
The event handler to be added.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.