API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsWinUi
Enums
Alignment.h
1
// Alignment.h
3
//
5
6
namespace
nkWinUi
7
{
11
enum class
ALIGNMENT
12
{
13
TOP_LEFT
= 0,
14
CENTER
,
15
BOTTOM_RIGHT
16
} ;
17
21
class
AlignmentUtils
final
22
{
23
public :
24
25
// String conversions
48
static
nkMemory::StringView
enumToString
(
ALIGNMENT
toConvert) ;
71
static
ALIGNMENT
stringToEnum
(
nkMemory::StringView
toConvert) ;
72
} ;
73
}
nkWinUi::ALIGNMENT
ALIGNMENT
Possible alignment values, interpretable by components depending on their behavior.
Definition:
Alignment.h:12
nkWinUi::AlignmentUtils::stringToEnum
static ALIGNMENT stringToEnum(nkMemory::StringView toConvert)
nkWinUi::AlignmentUtils::enumToString
static nkMemory::StringView enumToString(ALIGNMENT toConvert)
nkWinUi::ALIGNMENT::CENTER
@ CENTER
Aligned in the center.
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition:
StringView.h:22
nkWinUi::ALIGNMENT::TOP_LEFT
@ TOP_LEFT
Aligned left or top.
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition:
Clipboard.h:7
nkWinUi::AlignmentUtils
Holds static utility functions to interact with the ALIGNMENT enum class values.
Definition:
Alignment.h:22
nkWinUi::ALIGNMENT::BOTTOM_RIGHT
@ BOTTOM_RIGHT
Aligned right or bottom.
Generated by
Doxygen
1.8.18