Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / CreateButton Event
Example


In This Topic
    CreateButton Event
    In This Topic
    Occurs when the user clicks on the Create button.
    Syntax
    'Declaration
     
    
    Public Event CreateButton As CreateButtonEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As CreateButtonEventHandler
     
    AddHandler instance.CreateButton, handler
    public event CreateButtonEventHandler CreateButton
    Event Data

    The event handler receives an argument of type CreateButtonEventArgs containing data related to this event. The following CreateButtonEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the name of the command to perform.  
    Gets whether the command button is unavailable.  
    Gets or sets the URL of the image to display in the command button if the button is unavailable.  
    Gets or sets the URL of the image to display in the command button if the button is active.  
    Gets or sets the text that displays in the command button.  
    Gets or sets whether the button should be displayed.  
    Remarks
    The CreateButtonEventHandler receives an argument of type CreateButtonEventArgs containing data related to this event.
    Example
    This example illustrates the use of the event.
    See Also