Class LayoutStrategy
Denotes a layout strategy
public abstract class LayoutStrategy
- Inheritance
-
LayoutStrategy
- Inherited Members
Properties
Edge
Gets the implementation of the edge layout strategy
public static LayoutStrategy Edge { get; }
Property Value
FreeForm
Gets the implementation of the free form layout strategy
public static LayoutStrategy FreeForm { get; }
Property Value
Hbox
Gets the implementation of the Hbox layout strategy
public static LayoutStrategy Hbox { get; }
Property Value
NeedsLayout
True, if the layout strategy needs automatic layout calculation, otherwise false
public abstract bool NeedsLayout { get; }
Property Value
Vbox
Gets the implementation of the Vbox layout strategy
public static LayoutStrategy Vbox { get; }
Property Value
Methods
Apply(GElement)
Applies the layout for the given container
public abstract void Apply(GElement container)
Parameters
container
GElementThe container element
SetPosition(GElement, Point)
Sets the position for the given element
public abstract void SetPosition(GElement element, Point position)
Parameters
Update(GElement)
Updates the layout for the given element
public abstract void Update(GElement element)
Parameters
element
GElementthe element