2013-07-12 21:30:13 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* 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_
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
#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
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class Panel : public FrameworkElement
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
Panel();
|
|
|
|
|
|
|
|
public:
|
|
|
|
Brush* Background;
|
|
|
|
UIElementCollection Children;
|
|
|
|
bool IsItemsHost() const;
|
|
|
|
|
|
|
|
virtual ~Panel();
|
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& GetType();
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
bool operator==(const Panel& right) const;
|
|
|
|
bool operator!=(const Panel& right) const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-07-12 21:30:13 +02:00
|
|
|
|
|
|
|
#endif //_SYSTEM_WINDOWS_CONTROLS_PANEL_
|