Tab key to skip property name

Grids for WPF Forum

Posted 9 years ago by Fatema
Avatar
We have a requirment where we want the tab key to jump on propertyvalues directly. currently tab key first goes to property name and then to propertyvalue. can you suggest how can we achieve this.

Thanks

Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hello,

You can set the IsTabStop property of the PropertyGridDataAccessorItem (which is akin to a TreeViewItem) to false. You can set this for all instances of PropertyGridDataAccessorItem using an implicit Style, like so:
<propgrid:PropertyGrid.Resources>
   <Style TargetType="{x:Type propgrid:PropertyGridDataAccessorItem}">
      <Setter Property="IsTabStop" Value="false" />
   </Style>
</propgrid:PropertyGrid.Resources>


Actipro Software Support

Posted 9 years ago by Fatema
Avatar
Thnaks this works:)
The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.