The actual WPF Menu item that was created and you can reference after creation. Make sure to check for null. Available only after Window has initialized in OnWindowLoaded() or after.

public Button MenuItemButton { get; set; }

See also:

Class AddInMenuItem

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic