This element specifies a single list item within a parent ComboBox or DropDownList structured document tag.
Shows how to work with drop down-list structured document tags.
#include <Aspose.Words.Cpp/Markup/SdtListItem.h>
Public Member Functions | |
SdtListItem (String displayText, String value) | |
Initializes a new instance of this class. More... | |
SdtListItem (String value) | |
Initializes a new instance of this class. More... | |
String | get_DisplayText () const |
Gets the text to display in the run content in place of the Value attribute contents for this list item. More... | |
String | get_Value () const |
Gets the value of this list item. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
Static Public Member Functions | |
static const TypeInfo & | Type () |
Aspose::Words::Markup::SdtListItem::SdtListItem | ( | System::String | displayText, |
System::String | value | ||
) |
Initializes a new instance of this class.
Shows how to work with drop down-list structured document tags.
Aspose::Words::Markup::SdtListItem::SdtListItem | ( | System::String | value | ) |
Initializes a new instance of this class.
Shows how to work with drop down-list structured document tags.
System::String Aspose::Words::Markup::SdtListItem::get_DisplayText | ( | ) | const |
Gets the text to display in the run content in place of the Value attribute contents for this list item.
Cannot be null and cannot be an empty string.
Shows how to work with drop down-list structured document tags.
System::String Aspose::Words::Markup::SdtListItem::get_Value | ( | ) | const |
Gets the value of this list item.
Cannot be null and cannot be an empty string.
Shows how to work with drop down-list structured document tags.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
|
static |