Table of Contents

Method MakeTopAligned

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

MakeTopAligned(bool, bool)

Moves toolbar to the top of the container. This is done by setting it's VerticalAlignment to Top. This moves toolbar to the top if container's Layout is Vertical. Also this method optionally updates margin and border of the toolbar.

public virtual void MakeTopAligned(bool onlyBottomBorder = true, bool updateMargin = true)

Parameters

onlyBottomBorder bool

If True, only bottom border will be visible. If false, doesn't change the border.

updateMargin bool

If True, margin will be updated to have distance to other content of the container. If False, doesn't change the margin.