60 #pragma region Inherited
82 virtual bool AddChild ( sw::gui::UIElementOPtr && child )
override;
Definition: TestUIElementClass.h:26
virtual void OnRender(sw::gui::DrawingContext &context) override
Control rendering behavior.
Definition: TestUIElementClass.h:69
Base class for events.
Definition: IEventArgs.h:27
std::vector< sw::gui::UIElementOPtr > m_children
Definition: TestUIElementClass.h:42
virtual void Arrange(sw::gui::Rect &finalRect) override
Arragement pass. Check WPF documentation.
Definition: TestUIElementClass.h:77
virtual bool HitTest(const sw::gui::Position &point) override
Checks if point is within this object.
Definition: TestUIElementClass.h:64
DEFINE_OPTR_TYPE(ValidationEventArgs)
Definition: TestUIElementClass.h:37
RTTR_ENABLE(sw::gui::UIElement)
virtual sw::gui::Size2D Measure(sw::gui::Size2D availableSize) override
Meassure pass. Check documentation in WPF.
Definition: TestUIElementClass.h:72
virtual bool AddChild(sw::gui::UIElementOPtr &&child) override
Definition: TestUIElementClass.cpp:85
void RaiseTunnelEvent()
Definition: TestUIElementClass.cpp:46
Interface for all controls in tree.
Definition: UIElement.h:57
Rectangle structure.
Definition: CommonTypes.h:32
uint32 EventType
Event type identifier.
Definition: RegisteredEvent.h:19
DirectX::XMFLOAT2 Size2D
Definition: CommonTypes.h:28
Definition: TestUIElementClass.h:17
RTTR_ENABLE(sw::gui::IEventArgs)
size_t Size
Definition: TypesDefinitions.h:35
Context passed to rendering functions.
Definition: DrawingContext.h:22
void RaiseBubbleEvent()
Definition: TestUIElementClass.cpp:54
DirectX::XMFLOAT2 Position
Definition: CommonTypes.h:27
REGISTER_EVENT_DECLARATION(ValidationStarted, RoutingStrategy::Direct, TestUIElementClass, ValidationEventArgs)
bool ExistsDelegatesContainer(sw::gui::EventType eventID)
Check functions.
Definition: TestUIElementClass.cpp:62
void EventRaisingFunction()
Definition: TestUIElementClass.cpp:35
virtual UIElement * GetUIChild(Size idx) override
Gets child in visual tree.
Definition: TestUIElementClass.cpp:76
RTTR_ENABLE(sw::gui::IEventArgs)
virtual Size GetNumChildren() override
Get number of children in visual tree.
Definition: TestUIElementClass.cpp:69