/***************************************************************************** * FrameworkElement.h * * * * System::Windows::FrameworkElement definition file * * Copyright (c) XFX Team. All rights reserved * *****************************************************************************/ #ifndef _SYSTEM_WINDOWS_FRAMEWORKELEMENT_ #define _SYSTEM_WINDOWS_FRAMEWORKELEMENT_ #include #include #include namespace System { namespace Windows { class DependencyObject; struct Size; /** * Provides a framework of common APIs for objects that participate in layout. */ class FrameworkElement : public UIElement { protected: FrameworkElement(); virtual Size ArrangeOverride(const Size finalSize); virtual Size MeasureOverride(const Size finalSize); public: int getHeight() const; void setHeight(const int value); static const DependencyProperty HeightProperty; HorizontalAlignment_t HorizontalAlignment; static const DependencyProperty HorizontalAlignmentProperty; /** * Gets the outer margin of a System::Windows::FrameworkElement. */ Thickness getMargin() const; /** * Sets the outer margin of a System::Windows::FrameworkElement. */ void setMargin(const Thickness value); static const DependencyProperty MarginProperty; DependencyObject* Parent; VerticalAlignment_t VerticalAlignment; static const DependencyProperty VerticalAlignmentProperty; int getWidth() const; void setWidth(const int value); static const DependencyProperty WidthProperty; virtual ~FrameworkElement(); static const Type& GetType(); }; } } #endif //_SYSTEM_WINDOWS_FRAMEWORKELEMENT_