SystemMenuManagerAddItem Method

Adds an Item at the given position.

Definition

Namespace: DevCase.Core.Application.Forms
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual bool AddItem(
	string label,
	int id,
	int position,
	Bitmap imageChecked = null,
	Bitmap imageUnchecked = null
)

Parameters

label  String
The text of the item.
id  Int32
A Identifier to interact with this item when is clicked.
position  Int32
The position where the item will be added.
imageChecked  Bitmap  (Optional)
Image displayed when Item is selected.
imageUnchecked  Bitmap  (Optional)
Image displayed when Item is not selected.

Return Value

Boolean
If the function succeeds, the return is .

If the function fails, the return value is .

See Also