Table of Contents

Method PrependDisabledText

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PrependDisabledText(string)

Prepends a disabled menu item with the specified text to the beginning of the menu.

public virtual MenuItem PrependDisabledText(string text)

Parameters

text string

The text to display for the disabled menu item.

Returns

MenuItem

The MenuItem instance representing the disabled menu item.