[]
        
(Showing Draft Content)

FarPoint.Web.Spread.MenuItem

MenuItem Class

The Spread menu item.

Inheritance
MenuItem
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
[TypeConverter(typeof(MenuItem._a))]
public class MenuItem : IStateManager, ISerializeSupport
<TypeConverter(GetType(MenuItem._a))>
Public Class MenuItem
    Implements IStateManager, ISerializeSupport

Constructors

Name Description
MenuItem()

Initializes a new instance of the MenuItem class.

MenuItem(string)

Initializes a new instance of the MenuItem class.

MenuItem(string, string, string)

Initializes a new instance of the MenuItem class.

Properties

Name Description
AutoPostBack

Gets or sets a value that indicates whether an automatic postback to the server occurs when the user clicks the menu item.

ChildItems

Gets the child items.

CommandArgument

Gets or sets the command argument.

CommandName

Gets or sets the item command.

Enabled

Gets or sets a value that indicates whether this MenuItem is enabled.

Height

Gets or sets the height.

ImageUrl

Gets or sets the image URL.

Index

Gets the index.

ItemTemplate

Gets or sets the item template.

OnClientClick

Gets or sets the client-side script that executes when the user clicks the MenuItem.

Parent

Gets the parent.

Text

Gets or sets the text.

ViewState

Gets the state of the view.

Visible

Gets or sets a value that indicates whether this MenuItem is visible.

Methods

Name Description
OnDeserialize(XmlNodeReader)

Loads the object from XML.

OnDeserializeElement(XmlNodeReader)

Loads the object from XML.

OnSerialize(XmlTextWriter)

Saves the object to XML.