Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ButtonCellType Class / ButtonType Property
Example


In This Topic
    ButtonType Property (ButtonCellType)
    In This Topic
    Gets or sets what type of command button to display.
    Syntax
    'Declaration
     
    
    Public Property ButtonType As ButtonType
    'Usage
     
    
    Dim instance As ButtonCellType
    Dim value As ButtonType
     
    instance.ButtonType = value
     
    value = instance.ButtonType
    public ButtonType ButtonType {get; set;}

    Property Value

    ButtonType setting that determines the type of button
    Example
    This example shows the use of this method by creating a spreadsheet, setting the first two columns of cells to be button cells and constructing the buttons with a CommandNames of "MyRed" and "MyBlue". (In the ButtonCommand event, the CommandNames are queried and the background color of the spreadsheet is changed depending on the CommandName.)
    See Also