Method SetBorderAndMargin
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
bordersAnchorStyles?The flags that specify visible borders of the toolbar. If Null, border will not be changed.
marginsAnchorStyles?The flags that specify borders for which default margin is assigned. If Null, margins will not be set.
setDefaultPaddingboolWhether to set default padding for the toolbar.