xtd 0.2.0
Loading...
Searching...
No Matches
link_behavior.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class link_behavior {
31 };
32 }
33}
34
37 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::link_behavior> {{xtd::forms::link_behavior::system_default, "system_default"}, {xtd::forms::link_behavior::always_underline, "always_underline"}, {xtd::forms::link_behavior::hover_underline, "hover_underline"}, {xtd::forms::link_behavior::never_underline, "never_underline"}};}
38};
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:22
link_behavior
Specifies the behaviors of a link in a xtd::forms::link_label.
Definition link_behavior.h:22
@ never_underline
The link text is never underlined. The link can still be distinguished from other text by use of the ...
@ system_default
The behavior of this setting depends on the options set using the Internet Options dialog box in Cont...
@ always_underline
The link always displays with underlined text.
@ hover_underline
The link displays underlined text only when the mouse is hovered over the link text.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38