ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / DropDown Class / Text Property






In This Topic
    Text Property (DropDown)
    In This Topic
    Gets or sets the text shown on the control.
    Syntax
    'Declaration
     
    
    Public Property Text As System.String
    'Usage
     
    
    Dim instance As DropDown
    Dim value As System.String
     
    instance.Text = value
     
    value = instance.Text
    public System.string Text {get; set;}
    public read-write property Text: System.String; 
    public function get,set Text : System.String
    public: __property System.string* get_Text();
    public: __property void set_Text( 
       System.string* value
    );
    public:
    property System.String^ Text {
       System.String^ get();
       void set (    System.String^ value);
    }
    See Also