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.
- C#
- VB.NET
public class LinkMenuItem : MenuItem
Public Class LinkMenuItem
Inherits MenuItem
Constructors
LinkMenuItem()
Initializes a new instance of LinkMenuItem.
Properties
HRef
String: Returns or sets the URL to navigate to when this item is clicked. (Default: "")
Target
String: Returns or sets where to open the URL specified in HRef. (Default: "")
Methods
OnHRefChanged(e)
Fires the HRefChanged event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | An EventArgs that contains the event data. |
OnWebRender(config)
Renders the client component.
| Parameter | Type | Description |
|---|---|---|
| config | Object | Dynamic configuration object. |
Events
HRefChanged
EventHandler Fired when the HRef property value changes.
Implements
| Name | Description |
|---|---|
| IUserData | Provides access to the UserData and Tag properties associated to the component implementing this interface. |
| IBindableComponent | Bindable components implement this interface. |
| ICommandSource | Defines an object that can invoke a Command. |
| IWisejComponent | All wisej components implement this interface. |
| IWisejSerializable | Allows an object to serialize itself. |