1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
Tom Lint 7e74ae8683 Added System::Type
Added TypeInfo for all relevant types
Added comments
Updated DependencyProperty to work with System::Type
Fixed casing on PropertyMetadata
2013-07-12 21:30:13 +02:00

47 lines
1.2 KiB
C++

/*****************************************************************************
* Panel.h *
* *
* XFX System::Windows::Controls::Panel class definition file *
* Copyright (c) XFX Team. All rights reserved *
*****************************************************************************/
#ifndef _SYSTEM_WINDOWS_CONTROLS_PANEL_
#define _SYSTEM_WINDOWS_CONTROLS_PANEL_
#include <System/Windows/FrameworkElement.h>
#include <System/Windows/Controls/UIElementCollection.h>
#include <System/Windows/Media/Brush.h>
using namespace System::Windows::Media;
namespace System
{
namespace Windows
{
namespace Controls
{
/**
* Provides a base class for all System::Windows::Controls::Panel elements. Use System::Windows::Controls::Panel elements to position and arrange child objects in applications.
*/
class Panel : public FrameworkElement
{
protected:
Panel();
public:
Brush* Background;
UIElementCollection Children;
bool IsItemsHost() const;
virtual ~Panel();
static const Type& GetType();
bool operator==(const Panel& right) const;
bool operator!=(const Panel& right) const;
};
}
}
}
#endif //_SYSTEM_WINDOWS_CONTROLS_PANEL_