|
| UIElement ()=default |
|
virtual | ~UIElement ()=default |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseUp, RoutingStrategy::Tunnel, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseDown, RoutingStrategy::Tunnel, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseRightButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseRightButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseLeftButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseLeftButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseWheel, RoutingStrategy::Tunnel, UIElement, MouseWheelEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseMove, RoutingStrategy::Tunnel, UIElement, MouseMoveEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewKeyDown, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewKeyUp, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseUp, RoutingStrategy::Bubble, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseDown, RoutingStrategy::Bubble, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseRightButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseRightButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseLeftButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseLeftButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseWheel, RoutingStrategy::Bubble, UIElement, MouseWheelEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseMove, RoutingStrategy::Bubble, UIElement, MouseMoveEventArgs) |
|
| REGISTER_EVENT_DECLARATION (KeyUp, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (KeyDown, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseEnter, RoutingStrategy::Direct, UIElement, MouseEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseLeave, RoutingStrategy::Direct, UIElement, MouseEventArgs) |
|
|
virtual Size2D | Measure (Size2D availableSize)=0 |
| Meassure pass. Check documentation in WPF. More...
|
|
virtual void | Arrange (Rect &finalRect)=0 |
| Arragement pass. Check WPF documentation. More...
|
|
|
virtual Size | GetNumChildren ()=0 |
| Get number of children in visual tree. More...
|
|
virtual UIElement * | GetUIChild (Size idx)=0 |
| Gets child in visual tree. More...
|
|
virtual bool | AddChild (UIElementOPtr &&child)=0 |
| Add child. This function should set child parent to this pointer. More...
|
|
virtual void | SetParent (UIElement *parent) |
| Set control parent. Internal use. More...
|
|
virtual UIElement * | GetParent () |
| Returns control parent. More...
|
|
|
virtual void | InvokeEventDelegates (EventType eventID, UIElement *sender, IEventArgs *e, AccessKey) |
|
|
Mouse and Keyboard input events and focus.
|
virtual void | OnLoaded (UIElement *sender, IEventArgs *e) |
|
virtual void | OnUnloaded (UIElement *sender, IEventArgs *e) |
|
virtual void | OnGotFocus (UIElement *sender, IEventArgs *e) |
|
virtual void | OnLostFocus (UIElement *sender, IEventArgs *e) |
|
virtual void | OnMouseEnter (UIElement *sender, MouseEventArgs *e) |
|
virtual void | OnMouseLeave (UIElement *sender, MouseEventArgs *e) |
|
virtual void | OnMouseMove (UIElement *sender, MouseMoveEventArgs *e) |
|
virtual void | OnMouseWheel (UIElement *sender, MouseWheelEventArgs *e) |
|
virtual void | OnMouseDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseRightButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseRightButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseLeftButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseLeftButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseMove (UIElement *sender, MouseMoveEventArgs *e) |
|
virtual void | OnPreviewMouseWheel (UIElement *sender, MouseWheelEventArgs *e) |
|
virtual void | OnPreviewMouseDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseRightButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseRightButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseLeftButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseLeftButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnKeyDown (UIElement *sender, KeyEventArgs *e) |
|
virtual void | OnKeyUp (UIElement *sender, KeyEventArgs *e) |
|
virtual void | OnPreviewKeyDown (UIElement *sender, KeyEventArgs *e) |
|
virtual void | OnPreviewKeyUp (UIElement *sender, KeyEventArgs *e) |
|
| Visual ()=default |
|
| ~Visual ()=default |
|
virtual bool | HitTest (const Position &point)=0 |
| Checks if point is within this object. More...
|
|
virtual void | OnRender (DrawingContext &context)=0 |
| Control rendering behavior. More...
|
|
| DependencyObject () |
|
| ~DependencyObject ()=default |
|
TypeID | GetType () const |
|
std::string | GetTypeName () const |
|
virtual void | Serialize (ISerializer *ser) const |
| Implements default serialization. Serializes only declared properties. More...
|
|
virtual void | Deserialize (IDeserializer *deser) |
| Implements default deserialization. More...
|
|
virtual Size | MemorySize () |
|
template<typename TargetType > |
TargetType * | DynamicCast () |
|
Interface for all controls in tree.
Provides functionalities:
- Input interaction and events
- Layout (Measure/Arrange)
- Managing focus
- Parent/Child relationship
Connects WPF UIElement and FrameworkElement classes.
- Todo:
- Implement logical focus in future. (Check in WPF)