2013-06-12 19:21:00 +02:00
|
|
|
#ifndef _SYSTEM_WINDOWS_CONTROLS_COLUMNDEFINITION_
|
|
|
|
#define _SYSTEM_WINDOWS_CONTROLS_COLUMNDEFINITION_
|
2013-05-05 18:18:41 +02:00
|
|
|
|
|
|
|
#include <System/Windows/GridLength.h>
|
|
|
|
#include <System/Windows/PresentationFrameworkCollection.h>
|
|
|
|
|
|
|
|
namespace System
|
|
|
|
{
|
|
|
|
namespace Windows
|
|
|
|
{
|
|
|
|
namespace Controls
|
|
|
|
{
|
2013-06-12 19:21:00 +02:00
|
|
|
/**
|
|
|
|
* Defines row-specific properties that apply to System::Windows::Controls::Grid elements.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class ColumnDefinition
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ColumnDefinition();
|
|
|
|
|
|
|
|
int getActualWidth() const;
|
|
|
|
int MaxWidth;
|
|
|
|
int MinWidth;
|
|
|
|
GridLength Width;
|
|
|
|
|
|
|
|
bool operator==(const ColumnDefinition& right) const;
|
|
|
|
bool operator!=(const ColumnDefinition& right) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
// Provides access to an ordered, strongly typed collection of System::Windows::Controls::RowDefinition objects.
|
|
|
|
class ColumnDefinitionCollection : public PresentationFrameworkCollection<ColumnDefinition>
|
|
|
|
{
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-06-12 19:21:00 +02:00
|
|
|
|
|
|
|
#endif //_SYSTEM_WINDOWS_CONTROLS_COLUMNDEFINITION_
|