Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ButtonCellType Class / AccessKey Property
Example


In This Topic
    AccessKey Property (ButtonCellType)
    In This Topic
    Gets or sets the access key that allows you to quickly navigate to the cell.
    Syntax
    'Declaration
     
    Public Property AccessKey As String
    'Usage
     
    Dim instance As ButtonCellType
    Dim value As String
     
    instance.AccessKey = value
     
    value = instance.AccessKey
    public string AccessKey {get; set;}

    Property Value

    String containing the access key
    Example
    This example sets the access key (hot-key).
    FarPoint.Web.Spread.ButtonCellType btnc = new FarPoint.Web.Spread.ButtonCellType();
    btnc.AccessKey = "j";
    FpSpread1.Sheets[0].Cells[0, 0].CellType = btnc;
    
    Dim btnc As New FarPoint.Web.Spread.ButtonCellType
    btnc.AccessKey = "j"
    FpSpread1.Sheets(0).Cells(0, 0).CellType = btnc
    
    See Also