Gets or sets whether the button should be displayed.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Visible As Boolean |
C# | |
---|
public bool Visible {get; set;} |
Property Value
Boolean:
true if button is displayed;
false if button is hidden
Example
This example hides the button of the command bar.
C# | Copy Code |
---|
private void FpSpread1CreateButton(object sender, FarPoint.Web.Spread.CreateButtonEventArgs e)
{
e.Visible = false;
}
|
Visual Basic | Copy Code |
---|
Private Sub FpSpread1CreateButton(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.CreateButtonEventArgs) Handles FpSpread1.CreateButton
e.Visible = False
End Sub |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also