Tab key to skip property name

Grids for WPF Forum

Posted 14 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 14 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 14 years ago by Fatema
Avatar
Thnaks this works:)
The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.