Completed
Last Updated: 25 Nov 2022 14:32 by ADMIN
Release LIB 2022.3.1128 (28 Nov 2022)
Martin Ivanov
Created on: 16 Nov 2022 12:54
Category: GridView
Type: Bug Report
1
GridView: Current row indicator disappears when your press Esc two times while a cell is in edit mode in VisualStudio2013 theme

The current row indicator visual (the right pointing arrow) gets hidden if you enter edit mode of a cell (which shows the cell edit indicator) and then press Esc two times. The first time cancel the cell editing and the second time cancels the row editing. 

This reproduces in the VisualStudio2013 theme.

To work this around, extract the ControlTemplate of GridViewRow for the VisualStudio2013 theme and add the following MultiTrigger at the bottom of the template (last in the ControlTemplate.Triggers collection).

<MultiTrigger>
	<MultiTrigger.Conditions>
		<Condition Property="IsValid" Value="True"/>
		<Condition Property="IsCurrent" Value="True"/>
		<Condition Property="IsInEditMode" Value="False"/>
	</MultiTrigger.Conditions>
	<Setter TargetName="NavigatorIndicator" Property="Visibility" Value="Visible"/>
</MultiTrigger>

0 comments