36 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::string_trimming> {{
xtd::drawing::string_trimming::none,
"none"}, {
xtd::drawing::string_trimming::character,
"character"}, {
xtd::drawing::string_trimming::word,
"word"}, {
xtd::drawing::string_trimming::ellipsis_character,
"ellipsis_character"}, {
xtd::drawing::string_trimming::ellipsis_word,
"ellipsis_word"}, {
xtd::drawing::string_trimming::ellipsis_path,
"ellipsis_path"}};}
string_trimming
Specifies how to trim characters from a string that does not completely fit into a layout shape...
Definition: string_trimming.h:17
The center is removed from trimmed lines and replaced by an ellipsis. The algorithm keeps as much of ...
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Specifies that text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimm...
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Specifies that the text is trimmed to the nearest character, and an ellipsis is inserted at the end o...
Specifies that text is trimmed to the nearest word.
Specifies that the text is trimmed to the nearest character.
Provides the registration struct for enumerations.
Definition: enum_register.h:36