I would like the ComboBox in MaterialDataGridComboBoxColumn to have a custom template for each item that appears in the selection box. With a ComboBox, I can just set the ItemTemplate to a DataTemplate. With MaterialDataGridComboBoxColumn, I don't have direct access to the ComboBox, but I have access to the ComboBox's style through MaterialDataGridComboBoxColumn.ElementStyle. I used a Setter to change the ItemTemplate of the ComboBox to my custom DataTemplate. However, the template is applied not to each item in the selection box but to the "text" part of the ComboBox.
I'm not entirely sure if this is a MaterialDesign issue or a WPF issue, so I apologize in advance if this is the wrong place to post this.
I believe this appropriate thing to do here would be to use the generic DataGridTemplateColumn to achieve the result you want since it will have access to the ComboBox.
I would like the ComboBox in MaterialDataGridComboBoxColumn to have a custom template for each item that appears in the selection box. With a ComboBox, I can just set the ItemTemplate to a DataTemplate. With MaterialDataGridComboBoxColumn, I don't have direct access to the ComboBox, but I have access to the ComboBox's style through MaterialDataGridComboBoxColumn.ElementStyle. I used a Setter to change the ItemTemplate of the ComboBox to my custom DataTemplate. However, the template is applied not to each item in the selection box but to the "text" part of the ComboBox.
I'm not entirely sure if this is a MaterialDesign issue or a WPF issue, so I apologize in advance if this is the wrong place to post this.