protected void Add( string caption, string imagePath, string tooltipTitle, string tooltipText, ImageSource tooltipImage, bool isChecked, bool isEnabled, bool isBold, Delegate method, params object[] args )
Protected Overloads Sub Add( _ ByVal caption As String, _ Optional ByVal imagePath As String, _ Optional ByVal tooltipTitle As String, _ Optional ByVal tooltipText As String, _ Optional ByVal tooltipImage As ImageSource, _ Optional ByVal isChecked As Boolean, _ Optional ByVal isEnabled As Boolean, _ Optional ByVal isBold As Boolean, _ Optional ByVal method As Delegate, _ ByVal ParamArray args() As Object _ )
Parameters
- caption
- The menu item label.
- imagePath
- The path to an image file to use.
- tooltipTitle
- The tooltip heading.
- tooltipText
- The tooltip body.
- tooltipImage
- The image to show with the tooltip.
- isChecked
- Is the menu button checked. Default is false.
- isEnabled
- Is the menu button enabled. Default is true.
- isBold
- Is the menu button label bold. Default is false.
- method
- The delegate to call when the menu button is clicked.
- args
- The arguments to pass to the delegate.