Title: Giving different background for groupbox header
Description:
By default wpf groupbox has header property in which we will mention header text but we can not have property to change the background of header text. so for custom header text background use following
By Default When we drag groupbox control we will see code like this. In this there is no property to set different background for header.
<GroupBox Canvas.Left="49" Canvas.Top="61" Header="groupBox1" Height="100" Name="groupBox1" Width="200">
<Grid />
</GroupBox>
<GroupBox Name="GrbxMain" BorderBrush="{x:Null}">
<GroupBox.Header>
<Label Foreground="White">Supplier</Label>
</GroupBox.Header>
</GroupBox>
No comments:
Post a Comment
Please Give your Valuable Suggestions,Questions and Comments to improve my blog.