c# - How to define style for rows of a GridView in WPF -


I'm designing a GridView that is nested in the reviewview. All things are fine but I do not see anything on the light of the grid scene. Style, but I can not get the predefined gridview tag in XML.

Actually I want to show the lining of each line to show it differently.

  & lt; ListView x: name = "gridTopics" BorderThickness = "2" ItemsSource = "{binding path = TOPICSINFO}" horizontal alignment = "left" margin = "91,79,0,0" vertical alignment = "top" height = "242 "Width =" 310 "borderbrush =" # FF 32 A3D 6 "& gt; & Lt; ListView.Effect & gt; & Lt; Drop shadf fect color = "#ff 9ddfb" /> & Lt; /ListView.Effect> & Lt; ListView.View & gt; & Lt; GridView x: Name = "GridviewControl" & gt; & Lt; GridView.Columns & gt; & Lt; GridViewColumn x: name = "no callpages" DisplayMemberBinding = "{binding PAGENO}" width = "50" header = "page" /> & Lt; GridViewColumn x: name = "colListTopics" width = "241" header = "suggested topic" & gt; & Lt; GridViewColumn.CellTemplate & gt; & Lt; DataTemplate & gt; & Lt; Combo box x: name = "calltopics" item source: "{binding listopics}" selected index = "0" /> & Lt; / DataTemplate & gt; & Lt; /GridViewColumn.CellTemplate> & Lt; / GridViewColumn & gt; & Lt; /GridView.Columns> & Lt; / GridView & gt; & Lt; /ListView.View> & Lt; / ListView & gt;  

You want to use a gridpanel to do this, to define it And the style will allow rows and columns.


Comments