Click here to Skip to main content
11,502,518 members (36,973 online)

Silverlight / WPF

 
GeneralRe: Jesús Alvarez Manrique Pin
Member 901299827-Sep-12 7:57
memberMember 901299827-Sep-12 7:57 
GeneralRe: Jesús Alvarez Manrique Pin
Emmanuel Medina Lopez27-Sep-12 11:33
memberEmmanuel Medina Lopez27-Sep-12 11:33 
GeneralRe: Jesús Alvarez Manrique Pin
Member 901299827-Sep-12 7:59
memberMember 901299827-Sep-12 7:59 
QuestionBobbles in paradise - ViewModel and my personal adventures in WTF Pin
Kenneth Haugland26-Sep-12 18:25
memberKenneth Haugland26-Sep-12 18:25 
Questionbeginner : binding ListBox Pin
dominioYP26-Sep-12 4:05
memberdominioYP26-Sep-12 4:05 
AnswerRe: beginner : binding ListBox Pin
Pete O'Hanlon26-Sep-12 4:26
protectorPete O'Hanlon26-Sep-12 4:26 
GeneralRe: beginner : binding ListBox Pin
dominioYP26-Sep-12 5:41
memberdominioYP26-Sep-12 5:41 
GeneralRe: beginner : binding ListBox Pin
dominioYP28-Sep-12 5:38
memberdominioYP28-Sep-12 5:38 
Questionbeginner : listView, add scrollBar Pin
dominioYP26-Sep-12 3:50
memberdominioYP26-Sep-12 3:50 
QuestionTrying to set focus on DataGrid with DataGridTemplateColumn Pin
abollmeyer23-Sep-12 3:44
memberabollmeyer23-Sep-12 3:44 
AnswerRe: Trying to set focus on DataGrid with DataGridTemplateColumn Pin
abollmeyer24-Sep-12 14:13
memberabollmeyer24-Sep-12 14:13 
QuestionOn ContextMenu MouseLeave Pin
Kenneth Haugland21-Sep-12 3:46
memberKenneth Haugland21-Sep-12 3:46 
AnswerRe: On ContextMenu MouseLeave Pin
Kenneth Haugland21-Sep-12 13:42
memberKenneth Haugland21-Sep-12 13:42 
QuestionWPF DataGrid Not SHowing Any Data Pin
Kevin Marois20-Sep-12 11:30
memberKevin Marois20-Sep-12 11:30 
When I set AutoGenerateColumns = false, then I see no data. I see the data when AutoGenerateColumns = True. Here's my grid:

<DataGrid Grid.Row="1"
            Grid.Column="0"
            Grid.ColumnSpan="2"
            Margin="5"
            ItemsSource="{Binding AccountItems}"
            SelectedItem="{Binding SelectedAccountItem}"
            AutoGenerateColumns="True">
    <DataGrid.Columns>
        <DataGridTemplateColumn Header="Date" 
                                Width="SizeToCells" 
                                IsReadOnly="True">
            <DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <Image Source="{Binding DisplayDate}" />
                </DataTemplate>
            </DataGridTemplateColumn.CellTemplate>
        </DataGridTemplateColumn>
        <DataGridTemplateColumn Header="Memo 1" 
                                Width="SizeToCells" 
                                IsReadOnly="True">
            <DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <Image Source="{Binding Memo1}" />
                </DataTemplate>
            </DataGridTemplateColumn.CellTemplate>
        </DataGridTemplateColumn>
 
        <DataGridTemplateColumn Header="Memo 2" 
                                Width="SizeToCells" 
                                IsReadOnly="True">
            <DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <Image Source="{Binding Memo2}" />
                </DataTemplate>
            </DataGridTemplateColumn.CellTemplate>
        </DataGridTemplateColumn>
        <DataGridTemplateColumn Header="Debit" 
                                Width="SizeToCells" 
                                IsReadOnly="True">
            <DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <Image Source="{Binding Debit}" />
                </DataTemplate>
            </DataGridTemplateColumn.CellTemplate>
        </DataGridTemplateColumn>
        <DataGridTemplateColumn Header="Credit" 
                                Width="SizeToCells" 
                                IsReadOnly="True">
            <DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <Image Source="{Binding Credit}" />
                </DataTemplate>
            </DataGridTemplateColumn.CellTemplate>
        </DataGridTemplateColumn>
        <DataGridTemplateColumn Header="Balance" 
                                Width="SizeToCells" 
                                IsReadOnly="True">
            <DataGridTemplateColumn.CellTemplate>
                <DataTemplate>
                    <Image Source="{Binding Balance}" />
                </DataTemplate>
            </DataGridTemplateColumn.CellTemplate>
        </DataGridTemplateColumn>
    </DataGrid.Columns>
</DataGrid>

What am I doing wrong here?

Thanks
If it's not broken, fix it until it is

AnswerRe: WPF DataGrid Not SHowing Any Data [modified] Pin
Kenneth Haugland20-Sep-12 11:47
memberKenneth Haugland20-Sep-12 11:47 
GeneralRe: WPF DataGrid Not SHowing Any Data Pin
Pete O'Hanlon20-Sep-12 11:59
protectorPete O'Hanlon20-Sep-12 11:59 
GeneralRe: WPF DataGrid Not SHowing Any Data Pin
Kenneth Haugland20-Sep-12 12:10
memberKenneth Haugland20-Sep-12 12:10 
AnswerRe: WPF DataGrid Not SHowing Any Data Pin
Pete O'Hanlon20-Sep-12 12:01
protectorPete O'Hanlon20-Sep-12 12:01 
GeneralRe: WPF DataGrid Not SHowing Any Data Pin
Kevin Marois20-Sep-12 13:23
memberKevin Marois20-Sep-12 13:23 
GeneralRe: WPF DataGrid Not SHowing Any Data Pin
Pete O'Hanlon20-Sep-12 13:58
protectorPete O'Hanlon20-Sep-12 13:58 
Questionstackedbarseries chart: change the axes display Pin
ashlyacht19-Sep-12 10:03
memberashlyacht19-Sep-12 10:03 
Question[XML] XML binding Pin
Jayme6519-Sep-12 7:10
memberJayme6519-Sep-12 7:10 
Questionplay streaming videos from internet in wpf Pin
sudeep kushwaha17-Sep-12 18:31
membersudeep kushwaha17-Sep-12 18:31 
AnswerRe: play streaming videos from internet in wpf Pin
Mycroft Holmes17-Sep-12 20:05
memberMycroft Holmes17-Sep-12 20:05 
QuestionItemsControl with Horizontal orientation [modified] Pin
Kenneth Haugland17-Sep-12 7:25
memberKenneth Haugland17-Sep-12 7:25 
AnswerRe: ItemsControl with Horizontal orientation Pin
Abhinav S17-Sep-12 7:49
mvpAbhinav S17-Sep-12 7:49 
AnswerRe: ItemsControl with Horizontal orientation Pin
Kenneth Haugland17-Sep-12 8:04
memberKenneth Haugland17-Sep-12 8:04 
GeneralRe: ItemsControl with Horizontal orientation Pin
Abhinav S17-Sep-12 17:25
mvpAbhinav S17-Sep-12 17:25 
GeneralRe: ItemsControl with Horizontal orientation Pin
Kenneth Haugland17-Sep-12 20:24
memberKenneth Haugland17-Sep-12 20:24 
AnswerRe: ItemsControl with Horizontal orientation Pin
Kenneth Haugland17-Sep-12 9:35
memberKenneth Haugland17-Sep-12 9:35 
QuestionWPF Editable ComboxBox Question Pin
Kevin Marois14-Sep-12 10:46
memberKevin Marois14-Sep-12 10:46 
AnswerRe: WPF Editable ComboxBox Question Pin
SledgeHammer0114-Sep-12 11:17
memberSledgeHammer0114-Sep-12 11:17 
GeneralRe: WPF Editable ComboxBox Question Pin
Kevin Marois15-Sep-12 17:21
memberKevin Marois15-Sep-12 17:21 
GeneralRe: WPF Editable ComboxBox Question Pin
SledgeHammer0116-Sep-12 7:18
memberSledgeHammer0116-Sep-12 7:18 
GeneralRe: WPF Editable ComboxBox Question Pin
Kevin Marois16-Sep-12 8:55
memberKevin Marois16-Sep-12 8:55 
GeneralRe: WPF Editable ComboxBox Question Pin
SledgeHammer0116-Sep-12 9:14
memberSledgeHammer0116-Sep-12 9:14 
GeneralRe: WPF Editable ComboxBox Question Pin
Kevin Marois16-Sep-12 9:31
memberKevin Marois16-Sep-12 9:31 
GeneralRe: WPF Editable ComboxBox Question Pin
SledgeHammer0116-Sep-12 10:15
memberSledgeHammer0116-Sep-12 10:15 
GeneralRe: WPF Editable ComboxBox Question Pin
Kevin Marois16-Sep-12 10:25
memberKevin Marois16-Sep-12 10:25 
QuestionWPF Datagrid linked to URL Pin
abollmeyer13-Sep-12 18:14
memberabollmeyer13-Sep-12 18:14 
AnswerRe: WPF Datagrid linked to URL Pin
Pete O'Hanlon13-Sep-12 20:52
protectorPete O'Hanlon13-Sep-12 20:52 
GeneralRe: WPF Datagrid linked to URL Pin
abollmeyer13-Sep-12 22:50
memberabollmeyer13-Sep-12 22:50 
GeneralRe: WPF Datagrid linked to URL Pin
Pete O'Hanlon13-Sep-12 23:23
protectorPete O'Hanlon13-Sep-12 23:23 
GeneralRe: WPF Datagrid linked to URL Pin
abollmeyer14-Sep-12 21:42
memberabollmeyer14-Sep-12 21:42 
QuestionUN Register Scriptable Object Pin
Marc Vandeputte13-Sep-12 7:07
memberMarc Vandeputte13-Sep-12 7:07 
AnswerRe: UN Register Scriptable Object Pin
Clifford Nelson13-Sep-12 8:34
memberClifford Nelson13-Sep-12 8:34 
GeneralRe: UN Register Scriptable Object Pin
Marc Vandeputte13-Sep-12 10:41
memberMarc Vandeputte13-Sep-12 10:41 
GeneralRe: UN Register Scriptable Object Pin
Clifford Nelson13-Sep-12 11:19
memberClifford Nelson13-Sep-12 11:19 
QuestionWCF error - CommunicationException: Error in deserializing body of reply message for operati Pin
vanikanc12-Sep-12 15:33
membervanikanc12-Sep-12 15:33 
QuestionWpf Datagrid Pin
sudeep kushwaha12-Sep-12 2:38
membersudeep kushwaha12-Sep-12 2:38 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 2 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid