Table of Contents

Method SetMargins

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

SetMargins(bool, bool, bool, bool, double?)

Sets the margins of the toolbar.

public virtual void SetMargins(bool left, bool top = false, bool right = false, bool bottom = false, double? value = null)

Parameters

left bool

Whether to set the left margin.

top bool

Whether to set the top margin.

right bool

Whether to set the right margin.

bottom bool

Whether to set the bottom margin.

value double?

The value to set for the margins. If null, DefaultDistanceToContent is used.