In This Article

RibbonQuickAccessToolBarItemAddingEventArgs Class

Provides event data for quick-access toolbar item adding events.

public class RibbonQuickAccessToolBarItemAddingEventArgs : CancelRoutedEventArgs
Inheritance:
object EventArgs RoutedEventArgs CancelRoutedEventArgs object

Constructors

RibbonQuickAccessToolBarItemAddingEventArgs(string, object?)

Initializes a new instance of the class.

public RibbonQuickAccessToolBarItemAddingEventArgs(string key, object? item)
Parameter Type Description
key string

A string that uniquely identifies the item.

item object

The item being added.

Properties

Item

The item being added.

public object? Item { get; set; }

Property Value

object

Key

A string that uniquely identifies the item.

public string Key { get; }

Property Value

string

Inherited Members

Extension Methods