Foxit PDF SDK
foxit.addon.xfa.WidgetChoiceOption Class Reference

Inherits SystemIDisposable.

Public Member Functions

 WidgetChoiceOption ()
 Constructor.

 
 WidgetChoiceOption (string option_label, bool selected)
 Constructor, with parameters.
More...
 
 WidgetChoiceOption (WidgetChoiceOption option)
 Constructor, with another choice option object.
More...
 
void Set (string option_label, bool selected)
 Set value.
More...
 

Properties

string option_label [get, set]
 The displayed string value for the option.

 
bool selected [get, set]
 Used to indicate whether the option is selected or not.

 

Detailed Description

This class represents the data of an option in list box or combo box.

Constructor & Destructor Documentation

◆ WidgetChoiceOption() [1/2]

foxit.addon.xfa.WidgetChoiceOption.WidgetChoiceOption ( string  option_label,
bool  selected 
)
inline

Constructor, with parameters.

Parameters
[in]option_labelThe displayed string value for the option.
[in]selectedtrue means the option is selected, and false means the option is not selected.

◆ WidgetChoiceOption() [2/2]

foxit.addon.xfa.WidgetChoiceOption.WidgetChoiceOption ( WidgetChoiceOption  option)
inline

Constructor, with another choice option object.

Parameters
[in]optionAnother choice option object.

Member Function Documentation

◆ Set()

void foxit.addon.xfa.WidgetChoiceOption.Set ( string  option_label,
bool  selected 
)
inline

Set value.

Parameters
[in]option_labelThe displayed string value for the option.
[in]selectedtrue means the option is selected, and false means the option is not selected.
Returns
None.