Click here to Skip to main content
14,421,922 members

Silverlight / WPF

 
QuestionWPF DataGrid Group Summary Rows Pin
Kevin Marois19-Mar-18 18:26
professionalKevin Marois19-Mar-18 18:26 
AnswerRe: WPF DataGrid Group Summary Rows Pin
Mycroft Holmes19-Mar-18 22:58
MemberMycroft Holmes19-Mar-18 22:58 
GeneralRe: WPF DataGrid Group Summary Rows Pin
Kevin Marois20-Mar-18 6:01
professionalKevin Marois20-Mar-18 6:01 
GeneralRe: WPF DataGrid Group Summary Rows Pin
Mycroft Holmes20-Mar-18 13:29
MemberMycroft Holmes20-Mar-18 13:29 
AnswerRe: WPF DataGrid Group Summary Rows Pin
Gerry Schmitz20-Mar-18 9:14
mveGerry Schmitz20-Mar-18 9:14 
QuestionBind the Text property of a TextBlock inside a ListView inside a cell of a DataGrid to a ViewModel Pin
Mc_Topaz15-Mar-18 3:47
MemberMc_Topaz15-Mar-18 3:47 
AnswerRe: Bind the Text property of a TextBlock inside a ListView inside a cell of a DataGrid to a ViewModel Pin
Gerry Schmitz15-Mar-18 7:35
mveGerry Schmitz15-Mar-18 7:35 
QuestionWPF: GroupBox background Image Pin
Hervend8-Mar-18 23:01
MemberHervend8-Mar-18 23:01 
Hi everybody,

I would like to set a background image to a Groupbox and have it displayed at run time.
Below are the lines inserted in the xaml file at the appropriate locations:

<Window.Resources>
<VisualBrush x:Key="myNewBrush">
<VisualBrush.Visual>
<Grid>
<Rectangle Fill="Transparent"/>
<Image Source = "/Resources/Images/BartMap.png"/>
</Grid>
</VisualBrush.Visual>
</VisualBrush>
</Windows.Resources>


<GroupBox Grid.Row="1" Grid.Column="0" Background="Transparent">
<GroupBox.Header>
<Label FontWeight="Bold">Track plan </Label>
</GroupBox.Header>
<Grid Background="{StaticResource myNewBrush}">
</Grid>
</GroupBox>


My problem: The image background is not displayed at runtime.

Could anyone help me with this issue?

Best regards,
AnswerRe: WPF: GroupBox background Image Pin
Pete O'Hanlon8-Mar-18 23:44
communityengineerPete O'Hanlon8-Mar-18 23:44 
GeneralRe: WPF: GroupBox background Image Pin
Hervend9-Mar-18 0:06
MemberHervend9-Mar-18 0:06 
GeneralRe: WPF: GroupBox background Image Pin
Hervend9-Mar-18 0:24
MemberHervend9-Mar-18 0:24 
GeneralRe: WPF: GroupBox background Image Pin
Hervend9-Mar-18 3:31
MemberHervend9-Mar-18 3:31 
AnswerRe: WPF: GroupBox background Image Pin
Leif Simon Goodwin8-Mar-18 23:47
MemberLeif Simon Goodwin8-Mar-18 23:47 
AnswerRe: WPF: GroupBox background Image Pin
Leif Simon Goodwin8-Mar-18 23:49
MemberLeif Simon Goodwin8-Mar-18 23:49 
GeneralRe: WPF: GroupBox background Image Pin
Hervend9-Mar-18 0:13
MemberHervend9-Mar-18 0:13 
GeneralRe: WPF: GroupBox background Image Pin
Leif Simon Goodwin9-Mar-18 1:38
MemberLeif Simon Goodwin9-Mar-18 1:38 
QuestionPassing table value params to Sql Server from WPF app Pin
Christopher Duncan5-Mar-18 8:58
MemberChristopher Duncan5-Mar-18 8:58 
AnswerRe: Passing table value params to Sql Server from WPF app Pin
Richard Deeming5-Mar-18 9:23
communityengineerRichard Deeming5-Mar-18 9:23 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan5-Mar-18 12:03
MemberChristopher Duncan5-Mar-18 12:03 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Richard Deeming5-Mar-18 13:35
communityengineerRichard Deeming5-Mar-18 13:35 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan6-Mar-18 1:43
MemberChristopher Duncan6-Mar-18 1:43 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan6-Mar-18 2:23
MemberChristopher Duncan6-Mar-18 2:23 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Richard Deeming6-Mar-18 2:29
communityengineerRichard Deeming6-Mar-18 2:29 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan6-Mar-18 2:32
MemberChristopher Duncan6-Mar-18 2:32 
QuestionScrollbars Not Enabling Pin
Kevin Marois1-Mar-18 6:52
professionalKevin Marois1-Mar-18 6:52 

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.