Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / MenuItem Class / CommandName Property
Example


In This Topic
    CommandName Property (MenuItem)
    In This Topic
    Gets or sets the item command.
    Syntax
    'Declaration
     
    Public Overridable Property CommandName As String
    'Usage
     
    Dim instance As MenuItem
    Dim value As String
     
    instance.CommandName = value
     
    value = instance.CommandName
    public virtual string CommandName {get; set;}

    Property Value

    The command.
    Remarks
    The CommandArgument and CommandName properties are used to separate which menu item is clicked in code.
    Example
    This example uses the CommandName property.
    See Also