Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Thank you rmoore. To get the tab stop to be disabled for columns I took your answer and modified it slightly;</p> <pre><code> &lt;my:DataGrid Name="datagrid" AutoGenerateColumns="False" IsReadOnly="True" CanUserAddRows="False" CanUserDeleteRows="False" Background="White" KeyboardNavigation.TabNavigation="Once" SelectionUnit="FullRow"&gt; &lt;my:DataGrid.Columns&gt; &lt;my:DataGridTextColumn x:Name="ID" Header="ID" Width="1*" &gt;&lt;/my:DataGridTextColumn&gt; &lt;my:DataGridTextColumn x:Name="Ticker" Header="Ticker" Width="1*"&gt; &lt;my:DataGridTextColumn.CellStyle&gt; &lt;Style TargetType="{x:Type my:DataGridCell}"&gt; &lt;Setter Property="KeyboardNavigation.IsTabStop" Value="False"&gt;&lt;/Setter&gt; &lt;/Style&gt; &lt;/my:DataGridTextColumn.CellStyle&gt; &lt;/my:DataGridTextColumn&gt; &lt;my:DataGridTextColumn x:Name="OfficialName" Header="Name" Width="3*"&gt; &lt;my:DataGridTextColumn.CellStyle&gt; &lt;Style TargetType="{x:Type my:DataGridCell}"&gt; &lt;Setter Property="KeyboardNavigation.IsTabStop" Value="False"&gt;&lt;/Setter&gt; &lt;/Style&gt; &lt;/my:DataGridTextColumn.CellStyle&gt; &lt;/my:DataGridTextColumn&gt; &lt;/my:DataGrid.Columns&gt; &lt;/my:DataGrid&gt; </code></pre> <p>So tricks;</p> <ol> <li>SelectionUnit="FullRow" makes the GUI look like you are doing things one row at a time (like I wanted). </li> <li>By adding a CellStyle to the columns I want to disable TabStop in (but not including it in those I would like to stop in) allowed me to take control over which cells that tab-key would navigate into. - The KeyboardNavigation.TabNavigation not having an effect when defined on columns.</li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload