ウィンドウのリソースにItemsPanel
aを設定しようとしています。DataGridCellsPresenter
<Style TargetType="{x:Type DataGridCellsPresenter}">
<Setter Property="ItemsPanel">
<Setter.Value>
<ItemsPanelTemplate>
<WPFVarTab:CustomDataGridCellsPanel IsItemsHost="True" />
</ItemsPanelTemplate>
</Setter.Value>
</Setter>
</Style>
しかし、私CustomDataGridCellsPanel
は使用されていません。それはまだ使用していDataGridCellsPanel
ます。
私は何を間違っていますか?