ImageGear .NET - Updated
DefaultValue Property (ComboBox)




ImageGear23.Formats.Pdf Assembly > ImageGear.Formats.PDF.Forms Namespace > ComboBox Class : DefaultValue Property
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
If 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