Bar

ToolBarControlBase.ShowBackground Property

Gets or sets whether the custom template is used to draw the current tool bar's background. This property is in effect for standalone tool bars. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool ShowBackground { get; set; }
Public Property ShowBackground As Boolean

Property Value

Type Description
Boolean

true, if the custom template is used to draw the current tool bar's background; otherwise, false. The default is true.

Remarks

Using the ToolBarControlBase.BackgroundTemplate property, you can provide a custom template used to render the background of a standalone tool bar. By default, if the template is specified, it is used to render the tool bar's background. Set the ShowBackground property to false to prevent the custom background from being used.

See Also