Table of Contents

Method SetBorderAndMargin

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

SetBorderAndMargin(AnchorStyles?, AnchorStyles?, bool)

Sets border and margin using the specified parameters.

public virtual void SetBorderAndMargin(AnchorStyles? borders = null, AnchorStyles? margins = null, bool setDefaultPadding = true)

Parameters

borders AnchorStyles?

The flags that specify visible borders of the toolbar. If Null, border will not be changed.

margins AnchorStyles?

The flags that specify borders for which default margin is assigned. If Null, margins will not be set.

setDefaultPadding bool

Whether to set default padding for the toolbar.