2013-06-02 14:32:43 +02:00
|
|
|
#ifndef _SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK_
|
|
|
|
#define _SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK_
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
#include <System/String.h>
|
|
|
|
#include <System/Windows/FrameworkElement.h>
|
|
|
|
#include <System/Windows/Thickness.h>
|
|
|
|
#include <System/Windows/Media/Brush.h>
|
|
|
|
|
|
|
|
using namespace System::Windows::Media;
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
{
|
|
|
|
namespace Windows
|
|
|
|
{
|
|
|
|
namespace Controls
|
|
|
|
{
|
|
|
|
// Provides a lightweight control for displaying small amounts of text.
|
|
|
|
class TextBlock : public FrameworkElement
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Brush* Foreground;
|
|
|
|
Thickness Padding;
|
|
|
|
String Text;
|
|
|
|
|
|
|
|
TextBlock();
|
|
|
|
~TextBlock();
|
|
|
|
|
2013-07-11 17:25:49 +02:00
|
|
|
static int GetType();
|
2013-07-11 20:00:07 +02:00
|
|
|
const String ToString() const;
|
2013-05-05 18:18:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-06-02 14:32:43 +02:00
|
|
|
|
|
|
|
#endif //_SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK_
|