Skip to main content
A newer version of this page is available. .

GroupBox.TitleForeground Property

Gets or sets the brush used to paint the title of the current GroupBox.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public Brush TitleForeground { get; set; }

Property Value

Type Description
Brush

A Brush object used to paint the title of the current GroupBox.

Remarks

You can also specify a brush that will paint the title background of the GroupBox via the GroupBox.TitleBackground property. A GroupBox’s title is visible if the GroupBox.TitleVisibility property is set to Visible.

The TitleForeground property only works in the following themes:

  • Office2007Black
  • Office2007Blue
  • Office2007Silver
See Also