Datagrid with Selected cell
-
I have managed to do a full row selection, however i can still see a black rectangle on a cell that i click on. How can i make it so that it will not show it? Thanks in advance.
-
I have managed to do a full row selection, however i can still see a black rectangle on a cell that i click on. How can i make it so that it will not show it? Thanks in advance.
-
This[^] thread most probably answers your question.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.
I am unable to achive this. One example uses DataGridFrozenGrid that is only avaible in Silverlight others when selected, content disappears. Edit: Partualy figure it out. All those wanted me to use VisualManager while i didn't know what it is. Also i wanted to see the default style and template to modify but was out of luck because template browser didn't saw DataGridCell.
<DataGrid.CellStyle>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="BorderThickness" Value="0"/>
</Trigger>
</Style.Triggers>
<Setter Property="Focusable" Value="False"/>
</Style>
</DataGrid.CellStyle>The only thing that remaind is that i override key events, so that it handles up and down keys.
modified on Sunday, September 26, 2010 4:15 PM