Click here to Skip to main content
15,891,529 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: M-V-VM implementation question Pin
ml_black22-May-09 2:32
ml_black22-May-09 2:32 
GeneralRe: M-V-VM implementation question Pin
Pete O'Hanlon22-May-09 3:15
mvePete O'Hanlon22-May-09 3:15 
GeneralRe: M-V-VM implementation question Pin
ml_black22-May-09 4:14
ml_black22-May-09 4:14 
Questionprogramming html in wpf using c# Pin
ramakrishnamakkena21-May-09 2:40
ramakrishnamakkena21-May-09 2:40 
AnswerRe: programming html in wpf using c# Pin
Pete O'Hanlon21-May-09 4:32
mvePete O'Hanlon21-May-09 4:32 
QuestionListViewItem promblem Pin
mildred-frontfree21-May-09 0:57
mildred-frontfree21-May-09 0:57 
AnswerRe: ListViewItem promblem Pin
ABitSmart21-May-09 5:13
ABitSmart21-May-09 5:13 
GeneralRe: ListViewItem promblem Pin
mildred-frontfree21-May-09 18:14
mildred-frontfree21-May-09 18:14 
Thanks a lot ABitSmart.I am such a idiot.Thie problem could be easily sovled and I've spend 12 hours figured it out.
There is a demo in MSDN shows How to:Create ListViewItems With a CheckBox.
Well, we could easily replant it for our problem.

<ListViewItem>
   <ListViewItem.Resources>

   <DataTemplate x:Key="dt1">
         <Border Background="Red">
            <TextBlock Text="{Binding col1}"/>
         </Border>
   </DataTemplate>

   <DataTemplate x:Key="dt2">
         <Border Background="Yellow">
            <TextBlock Text="{Binding col2}"/>
         </Border>
   </DataTemplate>

   </ListViewItem.Resources>

   <GridView>
         <GridViewColumn CellTemplate="{StaticResource dt1}"
                                 Header="Column1 color red"/>
         <GridViewColumn CellTemplate="{StaticResource dt2}"
                                 Header="Column2 color yellow"/>
   </GridView>
</ListViewItem>

Very simple!
GeneralRe: ListViewItem promblem Pin
ABitSmart21-May-09 18:26
ABitSmart21-May-09 18:26 
AnswerRe: ListViewItem promblem Pin
Niladri_Biswas13-Jun-09 3:17
Niladri_Biswas13-Jun-09 3:17 
GeneralRe: ListViewItem promblem Pin
mildred-frontfree16-Jun-09 14:56
mildred-frontfree16-Jun-09 14:56 
GeneralRe: ListViewItem promblem Pin
Niladri_Biswas17-Jun-09 21:13
Niladri_Biswas17-Jun-09 21:13 
QuestionHelp getting values from combobox and comparing them to items in stackpanel Pin
Member 422055221-May-09 0:45
Member 422055221-May-09 0:45 
QuestionScrollViewer - How To Determine End of Scroll [SOLVED] Pin
#realJSOP21-May-09 0:32
mve#realJSOP21-May-09 0:32 
AnswerRe: ScrollViewer - How To Determine End of Scroll Pin
Pete O'Hanlon22-May-09 0:52
mvePete O'Hanlon22-May-09 0:52 
GeneralRe: ScrollViewer - How To Determine End of Scroll Pin
#realJSOP22-May-09 8:54
mve#realJSOP22-May-09 8:54 
GeneralRe: ScrollViewer - How To Determine End of Scroll Pin
#realJSOP1-Jun-09 11:09
mve#realJSOP1-Jun-09 11:09 
QuestionNo get device context Pin
krishnan.s20-May-09 15:26
krishnan.s20-May-09 15:26 
AnswerRe: No get device context Pin
Mark Salsbery20-May-09 15:49
Mark Salsbery20-May-09 15:49 
GeneralRe: No get device context Pin
krishnan.s21-May-09 0:22
krishnan.s21-May-09 0:22 
GeneralRe: No get device context Pin
Mark Salsbery21-May-09 5:45
Mark Salsbery21-May-09 5:45 
QuestionGettting metadata from TIFF file fails Pin
fjparisIII20-May-09 12:09
fjparisIII20-May-09 12:09 
AnswerRe: Gettting metadata from TIFF file fails Pin
Mark Salsbery20-May-09 15:45
Mark Salsbery20-May-09 15:45 
GeneralRe: Gettting metadata from TIFF file fails (RESOLVED!) Pin
fjparisIII20-May-09 16:46
fjparisIII20-May-09 16:46 
GeneralRe: Gettting metadata from TIFF file fails (RESOLVED!) Pin
Mark Salsbery20-May-09 17:15
Mark Salsbery20-May-09 17:15 

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.