Spread for ASP.NET 11 Product Documentation
AccessKey Property (ButtonCellType)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > ButtonCellType Class : AccessKey Property
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

Reference

ButtonCellType Class
ButtonCellType Members