Click here to Skip to main content

Silverlight / WPF

 
GeneralRe: Jesús Alvarez Manrique PinmemberMember 901299827-Sep-12 8:57 
GeneralRe: Jesús Alvarez Manrique PinmemberEmmanuel Medina Lopez27-Sep-12 12:33 
GeneralRe: Jesús Alvarez Manrique PinmemberMember 901299827-Sep-12 8:59 
QuestionBobbles in paradise - ViewModel and my personal adventures in WTF PinmemberKenneth Haugland26-Sep-12 19:25 
Questionbeginner : binding ListBox PinmemberdominioYP26-Sep-12 5:05 
AnswerRe: beginner : binding ListBox PinprotectorPete O'Hanlon26-Sep-12 5:26 
GeneralRe: beginner : binding ListBox PinmemberdominioYP26-Sep-12 6:41 
GeneralRe: beginner : binding ListBox PinmemberdominioYP28-Sep-12 6:38 
Questionbeginner : listView, add scrollBar PinmemberdominioYP26-Sep-12 4:50 
QuestionTrying to set focus on DataGrid with DataGridTemplateColumn Pinmemberabollmeyer23-Sep-12 4:44 
AnswerRe: Trying to set focus on DataGrid with DataGridTemplateColumn Pinmemberabollmeyer24-Sep-12 15:13 
QuestionOn ContextMenu MouseLeave PinmemberKenneth Haugland21-Sep-12 4:46 
AnswerRe: On ContextMenu MouseLeave PinmemberKenneth Haugland21-Sep-12 14:42 
QuestionWPF DataGrid Not SHowing Any Data PinmemberKevin Marois20-Sep-12 12: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] PinmemberKenneth Haugland20-Sep-12 12:47 
GeneralRe: WPF DataGrid Not SHowing Any Data PinprotectorPete O'Hanlon20-Sep-12 12:59 
GeneralRe: WPF DataGrid Not SHowing Any Data PinmemberKenneth Haugland20-Sep-12 13:10 
AnswerRe: WPF DataGrid Not SHowing Any Data PinprotectorPete O'Hanlon20-Sep-12 13:01 
GeneralRe: WPF DataGrid Not SHowing Any Data PinmemberKevin Marois20-Sep-12 14:23 
GeneralRe: WPF DataGrid Not SHowing Any Data PinprotectorPete O'Hanlon20-Sep-12 14:58 
Questionstackedbarseries chart: change the axes display Pinmemberashlyacht19-Sep-12 11:03 
Question[XML] XML binding PinmemberJayme6519-Sep-12 8:10 
Questionplay streaming videos from internet in wpf Pinmembersudeep kushwaha17-Sep-12 19:31 
AnswerRe: play streaming videos from internet in wpf PinmemberMycroft Holmes17-Sep-12 21:05 
QuestionItemsControl with Horizontal orientation [modified] PinmemberKenneth Haugland17-Sep-12 8:25 
AnswerRe: ItemsControl with Horizontal orientation PinmvpAbhinav S17-Sep-12 8:49 
AnswerRe: ItemsControl with Horizontal orientation PinmemberKenneth Haugland17-Sep-12 9:04 
GeneralRe: ItemsControl with Horizontal orientation PinmvpAbhinav S17-Sep-12 18:25 
GeneralRe: ItemsControl with Horizontal orientation PinmemberKenneth Haugland17-Sep-12 21:24 
AnswerRe: ItemsControl with Horizontal orientation PinmemberKenneth Haugland17-Sep-12 10:35 
QuestionWPF Editable ComboxBox Question PinmemberKevin Marois14-Sep-12 11:46 
AnswerRe: WPF Editable ComboxBox Question PinmemberSledgeHammer0114-Sep-12 12:17 
GeneralRe: WPF Editable ComboxBox Question PinmemberKevin Marois15-Sep-12 18:21 
GeneralRe: WPF Editable ComboxBox Question PinmemberSledgeHammer0116-Sep-12 8:18 
GeneralRe: WPF Editable ComboxBox Question PinmemberKevin Marois16-Sep-12 9:55 
GeneralRe: WPF Editable ComboxBox Question PinmemberSledgeHammer0116-Sep-12 10:14 
GeneralRe: WPF Editable ComboxBox Question PinmemberKevin Marois16-Sep-12 10:31 
GeneralRe: WPF Editable ComboxBox Question PinmemberSledgeHammer0116-Sep-12 11:15 
GeneralRe: WPF Editable ComboxBox Question PinmemberKevin Marois16-Sep-12 11:25 
QuestionWPF Datagrid linked to URL Pinmemberabollmeyer13-Sep-12 19:14 
AnswerRe: WPF Datagrid linked to URL PinprotectorPete O'Hanlon13-Sep-12 21:52 
GeneralRe: WPF Datagrid linked to URL Pinmemberabollmeyer13-Sep-12 23:50 
GeneralRe: WPF Datagrid linked to URL PinprotectorPete O'Hanlon14-Sep-12 0:23 
GeneralRe: WPF Datagrid linked to URL Pinmemberabollmeyer14-Sep-12 22:42 
QuestionUN Register Scriptable Object PinmemberMarc Vandeputte13-Sep-12 8:07 
AnswerRe: UN Register Scriptable Object PinmemberClifford Nelson13-Sep-12 9:34 
GeneralRe: UN Register Scriptable Object PinmemberMarc Vandeputte13-Sep-12 11:41 
GeneralRe: UN Register Scriptable Object PinmemberClifford Nelson13-Sep-12 12:19 
QuestionWCF error - CommunicationException: Error in deserializing body of reply message for operati Pinmembervanikanc12-Sep-12 16:33 
QuestionWpf Datagrid Pinmembersudeep kushwaha12-Sep-12 3: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.150224.1 | Last Updated 22 Feb 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid