1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 81af66d336 Code Audit
Replaced all copyright symbols with (c) to improve cross-platform
reading
Added classes to XFX::Audio namespace
Added and updated classes in XFX::Graphics namespace
Updated event function signature
Replaced const char* ToString() with const String& ToString()
2013-06-02 14:32:43 +02:00

27 lines
428 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 String& TextBlock::ToString() const
{
return Text;
}
}
}
}