ImageGear .NET
DefaultValue Property (ComboBox)




Gets or sets the default value of the field. The value may be the export value of one of the options, or, if Edit is set, it may specify a custom text.
Syntax
'Declaration
 
Public Property DefaultValue As String
'Usage
 
Dim instance As ComboBox
Dim value As String
 
instance.DefaultValue = value
 
value = instance.DefaultValue
public string DefaultValue {get; set;}
public: __property string* get_DefaultValue();
public: __property void set_DefaultValue( 
   string* value
);
public:
property String^ DefaultValue {
   String^ get();
   void set (    String^ value);
}

Property Value

The default value of the field.
Exceptions
ExceptionDescription
System.ExceptionIf Edit is not set, attempting to enter a value that does not exist as an option in the field.
See Also

Reference

ComboBox Class
ComboBox Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback