Click here to Skip to main content
15,881,248 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF DataGrid Group Summary Rows Pin
Mycroft Holmes19-Mar-18 21:58
professionalMycroft Holmes19-Mar-18 21:58 
GeneralRe: WPF DataGrid Group Summary Rows Pin
Kevin Marois20-Mar-18 5:01
professionalKevin Marois20-Mar-18 5:01 
GeneralRe: WPF DataGrid Group Summary Rows Pin
Mycroft Holmes20-Mar-18 12:29
professionalMycroft Holmes20-Mar-18 12:29 
AnswerRe: WPF DataGrid Group Summary Rows Pin
Gerry Schmitz20-Mar-18 8:14
mveGerry Schmitz20-Mar-18 8: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 2:47
Mc_Topaz15-Mar-18 2: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 6:35
mveGerry Schmitz15-Mar-18 6:35 
QuestionWPF: GroupBox background Image Pin
Hervend8-Mar-18 22:01
Hervend8-Mar-18 22:01 
AnswerRe: WPF: GroupBox background Image Pin
Pete O'Hanlon8-Mar-18 22:44
mvePete O'Hanlon8-Mar-18 22:44 
I copied your code into a project and ran it successfully. The only thing that's different in my version is that I have a different image (obviously). Check that the image is set to a Build Action of Resource and that Copy To Output Directory is set to Do Not Copy. My successful code:
XML
<Window x:Class="WpfSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfSample"
        mc:Ignorable="d"
        Title="MainWindow" Height="350" Width="525">
    <Window.Resources>
        <VisualBrush x:Key="myNewBrush">
            <VisualBrush.Visual>
                <Grid>
                    <Rectangle Fill="Transparent"/>
                    <Image Source = "real-sense-images.png" />
                </Grid>
            </VisualBrush.Visual>
        </VisualBrush>
    </Window.Resources>
    <Grid>
        <GroupBox Background="Transparent">
            <GroupBox.Header>
                <Label FontWeight="Bold">Track plan</Label>
            </GroupBox.Header>
            <Grid Background="{StaticResource myNewBrush}"/>
        </GroupBox>
    </Grid>
</Window>

This space for rent

GeneralRe: WPF: GroupBox background Image Pin
Hervend8-Mar-18 23:06
Hervend8-Mar-18 23:06 
GeneralRe: WPF: GroupBox background Image Pin
Hervend8-Mar-18 23:24
Hervend8-Mar-18 23:24 
GeneralRe: WPF: GroupBox background Image Pin
Hervend9-Mar-18 2:31
Hervend9-Mar-18 2:31 
AnswerRe: WPF: GroupBox background Image Pin
Leif Simon Goodwin8-Mar-18 22:47
Leif Simon Goodwin8-Mar-18 22:47 
AnswerRe: WPF: GroupBox background Image Pin
Leif Simon Goodwin8-Mar-18 22:49
Leif Simon Goodwin8-Mar-18 22:49 
GeneralRe: WPF: GroupBox background Image Pin
Hervend8-Mar-18 23:13
Hervend8-Mar-18 23:13 
GeneralRe: WPF: GroupBox background Image Pin
Leif Simon Goodwin9-Mar-18 0:38
Leif Simon Goodwin9-Mar-18 0:38 
QuestionPassing table value params to Sql Server from WPF app Pin
Christopher Duncan5-Mar-18 7:58
Christopher Duncan5-Mar-18 7:58 
AnswerRe: Passing table value params to Sql Server from WPF app Pin
Richard Deeming5-Mar-18 8:23
mveRichard Deeming5-Mar-18 8:23 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan5-Mar-18 11:03
Christopher Duncan5-Mar-18 11:03 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Richard Deeming5-Mar-18 12:35
mveRichard Deeming5-Mar-18 12:35 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan6-Mar-18 0:43
Christopher Duncan6-Mar-18 0:43 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan6-Mar-18 1:23
Christopher Duncan6-Mar-18 1:23 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Richard Deeming6-Mar-18 1:29
mveRichard Deeming6-Mar-18 1:29 
GeneralRe: Passing table value params to Sql Server from WPF app Pin
Christopher Duncan6-Mar-18 1:32
Christopher Duncan6-Mar-18 1:32 
QuestionScrollbars Not Enabling Pin
Kevin Marois1-Mar-18 5:52
professionalKevin Marois1-Mar-18 5:52 
AnswerRe: Scrollbars Not Enabling Pin
Gerry Schmitz2-Mar-18 9:59
mveGerry Schmitz2-Mar-18 9:59 

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.