ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / Popup Class / ShowTrigger Property






In This Topic
    ShowTrigger Property (Popup)
    In This Topic
    Gets or sets the actions that show the Popup.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property ShowTrigger As PopupTrigger
    'Usage
     
    
    Dim instance As Popup
    Dim value As PopupTrigger
     
    instance.ShowTrigger = value
     
    value = instance.ShowTrigger
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public PopupTrigger ShowTrigger {get; set;}
    public read-write property ShowTrigger: PopupTrigger; 
    System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)
    public function get,set ShowTrigger : PopupTrigger
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public: __property PopupTrigger get_ShowTrigger();
    public: __property void set_ShowTrigger( 
       PopupTrigger value
    );
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public:
    property PopupTrigger ShowTrigger {
       PopupTrigger get();
       void set (    PopupTrigger value);
    }
    Remarks
    By default, the ShowTrigger property is set to Click, which causes the popup to appear when the user clicks the owner element.If you set the ShowTrigger property to None, the popup will be shown only when the show method is called.
    See Also