xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
link_behavior.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
link_behavior
{
24
system_default
,
26
always_underline
,
28
hover_underline
,
30
never_underline
,
31
};
32
}
33
}
34
36
template
<>
struct
xtd::enum_register
<
xtd
::
forms::link_behavior
> {
37
static
auto
values
()
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
};
xtd::enum_collection
std::vector< std::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.hpp:24
xtd::forms::link_behavior
link_behavior
Specifies the behaviors of a link in a xtd::forms::link_label.
Definition
link_behavior.hpp:22
xtd::forms::link_behavior::never_underline
@ never_underline
The link text is never underlined. The link can still be distinguished from other text by use of the ...
Definition
link_behavior.hpp:30
xtd::forms::link_behavior::system_default
@ system_default
The behavior of this setting depends on the options set using the Internet Options dialog box in Cont...
Definition
link_behavior.hpp:24
xtd::forms::link_behavior::always_underline
@ always_underline
The link always displays with underlined text.
Definition
link_behavior.hpp:26
xtd::forms::link_behavior::hover_underline
@ hover_underline
The link displays underlined text only when the mouse is hovered over the link text.
Definition
link_behavior.hpp:28
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.