2013-07-12 21:30:13 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* TextBlock.h *
|
|
|
|
* *
|
|
|
|
* System::Windows::Controls::TextBlock definition file *
|
|
|
|
* Copyright (c) XFX Team. All rights reserved *
|
|
|
|
*****************************************************************************/
|
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
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* Provides a lightweight control for displaying small amounts of text.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class TextBlock : public FrameworkElement
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Brush* Foreground;
|
|
|
|
Thickness Padding;
|
|
|
|
String Text;
|
|
|
|
|
|
|
|
TextBlock();
|
|
|
|
~TextBlock();
|
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& 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_
|