Assembly: Phoenix.ComponentPlugInSDK.dll
AddAsyncMenuItem(ItemsControl, string, RoutedEventHandlerAsync)
Adds a child menuItem to the specified parent.Parameters
parent ItemsControl
The parent of the new menuItem.
header string
The header of the menuItem.
eventHandler AbstractBuilderUI<RUNNER>.RoutedEventHandlerAsync
The event handler to call when the menuItem is clicked. If this method throws an exception
it will be passed to Phoenix.ComponentPlugInSDK.AbstractBuilderUI1.DisplayException(System.Exception)`
Returns
MenuItem The MenuItem that was added.Remarks
If you have a non-async event handler, usePhoenix.ComponentPlugInSDK.AbstractBuilderUI1.AddMenuItem(System.Windows.Controls.ItemsControl,System.String,System.Windows.RoutedEventHandler)`
AddAsyncMenuItem(ItemsControl, string, ImageType, bool, RoutedEventHandlerAsync)
Adds a child menuItem to the specified parent.Parameters
parent ItemsControl
The parent of the new menuItem.
header string
The header of the menuItem.
imageType ImageType
The image type to display on the menuItem.
hasDownArrow bool
If a down arrow should appear on the right side of the menu item.
eventHandler AbstractBuilderUI<RUNNER>.RoutedEventHandlerAsync
The event handler to call when the menuItem is clicked. If this method throws an exception
it will be passed to Phoenix.ComponentPlugInSDK.AbstractBuilderUI1.DisplayException(System.Exception)`
Returns
MenuItem The MenuItem that was added.Remarks
If you have a non-async event handler, usePhoenix.ComponentPlugInSDK.AbstractBuilderUI1.AddMenuItem(System.Windows.Controls.ItemsControl,System.String,Phoenix.ComponentPlugInSDK.Images.ImageType,System.Boolean,System.Windows.RoutedEventHandler)`
AddAsyncMenuItem(ItemsControl, string, ImageSource, bool, RoutedEventHandlerAsync)
Adds a child menuItem to the specified parent.Parameters
parent ItemsControl
The parent of the new menuItem.
header string
The header of the menuItem.
image ImageSource
The image to display on the menuItem.
hasDownArrow bool
If a down arrow should appear on the right side of the menu item.
eventHandler AbstractBuilderUI<RUNNER>.RoutedEventHandlerAsync
The event handler to call when the menuItem is clicked. If this method throws an exception
it will be passed to Phoenix.ComponentPlugInSDK.AbstractBuilderUI1.DisplayException(System.Exception)`
Returns
MenuItem The MenuItem that was added.Remarks
If you have a non-async event handler, usePhoenix.ComponentPlugInSDK.AbstractBuilderUI1.AddMenuItem(System.Windows.Controls.ItemsControl,System.String,System.Windows.Media.ImageSource,System.Boolean,System.Windows.RoutedEventHandler)`