mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
27 lines
437 B
C++
27 lines
437 B
C++
|
#include <System/Windows/Controls/TextBlock.h>
|
||
|
#include <System/Windows/Media/SolidColorBrush.h>
|
||
|
|
||
|
namespace System
|
||
|
{
|
||
|
namespace Windows
|
||
|
{
|
||
|
namespace Controls
|
||
|
{
|
||
|
TextBlock::TextBlock()
|
||
|
: Foreground(new SolidColorBrush(Color::White)), Padding(0), Text(String::Empty)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
TextBlock::~TextBlock()
|
||
|
{
|
||
|
delete Foreground;
|
||
|
}
|
||
|
|
||
|
const char* TextBlock::ToString() const
|
||
|
{
|
||
|
return Text.ToString();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|