Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.71 KB

Wrapper.doc.md

File metadata and controls

34 lines (23 loc) · 1.71 KB

Wrapper

Wrapper is a base class of all elements that contain other elements. It has its own FocusFlowManager (Read about it in Core docs).

public abstract class Wrapper : UIElement, IFocusManagerHolder

You can find its source code in Wrapper.cs

Inheritors

1. [CompositionWrapper](Wrapper.doc.md) class in CompositionWrapper.cs 2. [Canvas](Canvas.doc.md) class in [Canvas.cs](../src/UIElements/Wrappers/Canvas/Canvas.cs) 3. [Grid](Grid.doc.md) class in [Grid.cs](../src/UIElements/Wrappers/Grid/Grid.cs) 4. [StackPanel](StackPanel.doc.md) class in [StackPanel.cs](../src/UIElements/Wrappers/StackPanel/StackPanel.cs)

You can implement your own wrapper. Maybe Wrapper's implementations in the source code will help you. It gives many opportuninties, so here we go.

CompositionWrapper

CompositionWrapper is a Wrapper that creates its state with composition of its children states.

public abstract class CompositionWrapper : Wrapper

You can find its source code in CompositionWrapper.cs

Inheritors

1. [Canvas](Canvas.doc.md) class in [Canvas.cs](../src/UIElements/Wrappers/Canvas/Canvas.cs) 2. [Grid](Grid.doc.md) class in [Grid.cs](../src/UIElements/Wrappers/Grid/Grid.cs) 3. [StackPanel](StackPanel.doc.md) class in [StackPanel.cs](../src/UIElements/Wrappers/StackPanel/StackPanel.cs)

You can implement your own CompositionWrapper. Maybe CompositionWrapper's implementations in the source code will help you. It gives many opportuninties, so here we go.