Click here to Skip to main content
15,921,028 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to FindControls in ListView Pin
Glyn1238-Jun-09 2:23
Glyn1238-Jun-09 2:23 
GeneralRe: How to FindControls in ListView Pin
Pete O'Hanlon8-Jun-09 5:04
mvePete O'Hanlon8-Jun-09 5:04 
QuestionPage turn in wpf 3d Pin
AmirHossein.M.Ojvar4-Jun-09 20:50
AmirHossein.M.Ojvar4-Jun-09 20:50 
AnswerRe: Page turn in wpf 3d Pin
Pete O'Hanlon4-Jun-09 21:55
mvePete O'Hanlon4-Jun-09 21:55 
QuestionText and Image in header in listview Pin
krishnan.s4-Jun-09 20:16
krishnan.s4-Jun-09 20:16 
AnswerRe: Text and Image in header in listview Pin
Mark Salsbery4-Jun-09 21:14
Mark Salsbery4-Jun-09 21:14 
GeneralRe: Text and Image in header in listview Pin
krishnan.s4-Jun-09 21:45
krishnan.s4-Jun-09 21:45 
GeneralRe: Text and Image in header in listview Pin
Mark Salsbery5-Jun-09 6:25
Mark Salsbery5-Jun-09 6:25 
krishnan.s wrote:
Iam ale to display onlyone at a time , either text or image, Iam not getting how to display both together


Use a panel that can host more than one element. Here's an example
using a StackPanel:
<ListView x:Name="booksListView" ItemsSource="{Binding Source={StaticResource BooksData}, XPath=*}" >
    <ListView.View>
        <GridView AllowsColumnReorder="False" >
            <GridViewColumn Width="100" DisplayMemberBinding="{Binding XPath=@ISBN}" >
                <code><GridViewColumn.HeaderTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <TextBlock Text="Header Text" />
                            <Image Source="images/Silverlight_Logo.jpg" />
                        </StackPanel>
                    </DataTemplate>
                </GridViewColumn.HeaderTemplate></code>
            </GridViewColumn>
            <GridViewColumn Header="Title" Width="140" DisplayMemberBinding="{Binding XPath=Title}" />
            <GridViewColumn Header="Summary" Width="140" DisplayMemberBinding="{Binding XPath=Summary}" />
            <GridViewColumn Header="Price" Width="35" DisplayMemberBinding="{Binding XPath=price}" />
            <GridViewColumn Header="Stock" Width="35" DisplayMemberBinding="{Binding XPath=@Stock}" />
        </GridView>
    </ListView.View>
</ListView>


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

QuestionBinding problem: Set a source of a 'Source' property. Pin
Lutosław4-Jun-09 11:09
Lutosław4-Jun-09 11:09 
AnswerRe: Binding problem: Set a source of a 'Source' property. Pin
User 2710098-Jun-09 18:27
User 2710098-Jun-09 18:27 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław9-Jun-09 10:57
Lutosław9-Jun-09 10:57 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
User 27100910-Jun-09 18:08
User 27100910-Jun-09 18:08 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław11-Jun-09 3:26
Lutosław11-Jun-09 3:26 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
User 27100918-Jun-09 18:42
User 27100918-Jun-09 18:42 
GeneralRe: Binding problem: Set a source of a 'Source' property. Pin
Lutosław19-Jun-09 4:32
Lutosław19-Jun-09 4:32 
Questiond3dimage + reference device Pin
toxigun4-Jun-09 8:58
toxigun4-Jun-09 8:58 
QuestionModel and ViewModel on demand communication using MVVM pattern in WPF Pin
Vinod Kumar Gupta4-Jun-09 2:44
Vinod Kumar Gupta4-Jun-09 2:44 
AnswerRe: Model and ViewModel on demand communication using MVVM pattern in WPF Pin
ABitSmart4-Jun-09 4:44
ABitSmart4-Jun-09 4:44 
GeneralRe: Model and ViewModel on demand communication using MVVM pattern in WPF Pin
Vinod Kumar Gupta8-Jun-09 18:59
Vinod Kumar Gupta8-Jun-09 18:59 
Questionrequest.responseJSON.d - what's ".d"? Pin
devvvy3-Jun-09 21:20
devvvy3-Jun-09 21:20 
AnswerRe: request.responseJSON.d - what's ".d"? Pin
Pete O'Hanlon4-Jun-09 0:47
mvePete O'Hanlon4-Jun-09 0:47 
GeneralRe: request.responseJSON.d - what's ".d"? Pin
devvvy4-Jun-09 0:49
devvvy4-Jun-09 0:49 
GeneralRe: request.responseJSON.d - what's ".d"? Pin
Pete O'Hanlon4-Jun-09 1:02
mvePete O'Hanlon4-Jun-09 1:02 
QuestionLogin when user press enter in passwordtextbox Pin
Ravi Mori3-Jun-09 21:10
Ravi Mori3-Jun-09 21:10 
AnswerRe: Login when user press enter in passwordtextbox Pin
Pete O'Hanlon3-Jun-09 22:48
mvePete O'Hanlon3-Jun-09 22:48 

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.