Click here to Skip to main content
15,893,668 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Free Training, Support, Marketing for Software Companies Adopting Silverlight, SQL Server Pin
Mohammad Dayyan20-Feb-09 18:05
Mohammad Dayyan20-Feb-09 18:05 
QuestionComboBox + 2 DataSet/DataTable (ItemSource and SelectedValue) DataBinding Problem Pin
awilkens20-Feb-09 0:28
awilkens20-Feb-09 0:28 
Questionclipping an image region and saving as new image Pin
coolpjmartin20-Feb-09 0:21
coolpjmartin20-Feb-09 0:21 
AnswerRe: clipping an image region and saving as new image Pin
sivaddrahcir20-Feb-09 11:08
sivaddrahcir20-Feb-09 11:08 
QuestionInfragistics WPF Pin
rastaVnuce19-Feb-09 11:25
rastaVnuce19-Feb-09 11:25 
AnswerRe: Infragistics WPF Pin
rastaVnuce19-Feb-09 22:05
rastaVnuce19-Feb-09 22:05 
QuestionStyling GroupBox dynamically Pin
vsaratkar19-Feb-09 9:43
vsaratkar19-Feb-09 9:43 
AnswerRe: Styling GroupBox dynamically [modified] Pin
Mark Salsbery19-Feb-09 15:37
Mark Salsbery19-Feb-09 15:37 
GroupBox gb = new GroupBox();

gb.Header = "GroupBox!";
gb.Foreground = new SolidColorBrush(Colors.Red);
gb.FontSize = 20;
gb.FontWeight = FontWeights.UltraBold;

gb.Content = ...

...

You can also set a groupbox's header to anything you want.

For example, you could set the header as a TextBlock:
GroupBox gb = new GroupBox();

TextBlock tb = new TextBlock();
tb.Text = "My Group";
tb.Foreground = new SolidColorBrush(Colors.Red);
tb.FontSize = 20;
tb.FontWeight = FontWeights.UltraBold;
gb.Header = tb;

gb.Content = ...;

...


Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

modified on Thursday, February 19, 2009 10:01 PM

QuestionCombobox in Listview Pin
Rolorob19-Feb-09 3:25
Rolorob19-Feb-09 3:25 
AnswerRe: Combobox in Listview Pin
ABitSmart19-Feb-09 4:05
ABitSmart19-Feb-09 4:05 
GeneralRe: Combobox in Listview [modified] Pin
Rolorob19-Feb-09 4:26
Rolorob19-Feb-09 4:26 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 5:16
ABitSmart19-Feb-09 5:16 
GeneralRe: Combobox in Listview Pin
Rolorob19-Feb-09 6:59
Rolorob19-Feb-09 6:59 
GeneralRe: Combobox in Listview [modified] Pin
Rolorob19-Feb-09 20:44
Rolorob19-Feb-09 20:44 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 21:19
ABitSmart19-Feb-09 21:19 
GeneralRe: Combobox in Listview Pin
Rolorob19-Feb-09 22:23
Rolorob19-Feb-09 22:23 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 22:48
ABitSmart19-Feb-09 22:48 
GeneralRe: Combobox in Listview Pin
Rolorob19-Feb-09 23:01
Rolorob19-Feb-09 23:01 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 23:10
ABitSmart19-Feb-09 23:10 
GeneralRe: Combobox in Listview Pin
Rolorob19-Feb-09 23:17
Rolorob19-Feb-09 23:17 
GeneralRe: Combobox in Listview Pin
ABitSmart19-Feb-09 23:51
ABitSmart19-Feb-09 23:51 
GeneralRe: Combobox in Listview [modified] Pin
Rolorob20-Feb-09 0:21
Rolorob20-Feb-09 0:21 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 1:55
Rolorob20-Feb-09 1:55 
GeneralRe: Combobox in Listview Pin
ABitSmart20-Feb-09 2:15
ABitSmart20-Feb-09 2:15 
GeneralRe: Combobox in Listview Pin
Rolorob20-Feb-09 2:28
Rolorob20-Feb-09 2:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.