mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
33 lines
582 B
C
33 lines
582 B
C
|
#pragma once
|
||
|
|
||
|
#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();
|
||
|
|
||
|
int GetType() const;
|
||
|
const char* ToString() const;
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|