Skip to main content
Version: 4.1

LinkMenuItem

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Represents an individual menu item that is displayed within a MainMenu or ContextMenu rendered using the <a> link element to let the browser process the specified HRef URL.

public class LinkMenuItem : MenuItem

Constructors

Instance member LinkMenuItem()

Initializes a new instance of LinkMenuItem.

Properties

Instance member HRef

String: Returns or sets the URL to navigate to when this item is clicked. (Default: "")

Instance member Target

String: Returns or sets where to open the URL specified in HRef. (Default: "")

Methods

Protected member OnHRefChanged(e)

Fires the HRefChanged event.

ParameterTypeDescription
eEventArgsAn EventArgs that contains the event data.

Protected member OnWebRender(config)

Renders the client component.

ParameterTypeDescription
configObjectDynamic configuration object.

Events

Instance member HRefChanged

EventHandler Fired when the HRef property value changes.

Implements

NameDescription
IUserDataProvides access to the UserData and Tag properties associated to the component implementing this interface.
IBindableComponentBindable components implement this interface.
ICommandSourceDefines an object that can invoke a Command.
IWisejComponentAll wisej components implement this interface.
IWisejSerializableAllows an object to serialize itself.