我正在使用GridViewRowPresenter / GridViewHeaderRowPresenter,我想允许用户选中列标题。我试过以下没有运气......
<GridViewHeaderRowPresenter.ColumnHeaderContainerStyle>
<Style>
<Setter Property="KeyboardNavigation.TabNavigation" Value="Local"/>
<Setter Property="KeyboardNavigation.IsTabStop" Value="true" />
</Style>
</GridViewHeaderRowPresenter.ColumnHeaderContainerStyle>
有谁知道如何做到这一点?
答案 0 :(得分:0)
<GridViewHeaderRowPresenter.ColumnHeaderContainerStyle>
<Style>
<Setter Property="GridViewHeaderRowPresenter.Focusable" Value="true" />
</Style>
</GridViewHeaderRowPresenter.ColumnHeaderContainerStyle>