mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
36 lines
706 B
C++
36 lines
706 B
C++
#ifndef _SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK_
|
|
#define _SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK_
|
|
|
|
#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();
|
|
|
|
static int GetType();
|
|
const String& ToString() const;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif //_SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK_
|