Spread for ASP.NET 9.0 Product Documentation
Visible Property (CreateButtonEventArgs)
Example 


Gets or sets whether the button should be displayed.
Syntax
'Declaration
 
Public Property Visible As Boolean
'Usage
 
Dim instance As CreateButtonEventArgs
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
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.
private void FpSpread1CreateButton(object sender, FarPoint.Web.Spread.CreateButtonEventArgs e) 
{
    e.Visible = false; 
}
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

CreateButtonEventArgs Class
CreateButtonEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.