mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
Added TypeInfo for all relevant types Added comments Updated DependencyProperty to work with System::Type Fixed casing on PropertyMetadata
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
/*****************************************************************************
|
|
* TextBlock.h *
|
|
* *
|
|
* System::Windows::Controls::TextBlock definition file *
|
|
* Copyright (c) XFX Team. All rights reserved *
|
|
*****************************************************************************/
|
|
#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 const Type& GetType();
|
|
const String ToString() const;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif //_SYSTEM_WINDOWS_CONTROLS_TEXTBLOCK_
|