#11362·wpf

ComboBox ToggleButton layout breaks when used inside a DataGrid

Author: alraseensaadCreated Jan 15, 2026Updated Sep 6, 2026
LabelsWin 11 Theming

Description

When a ComboBox is placed inside a DataGrid cell, the layout of its ToggleButton becomes misaligned and does not render correctly.

ImageImage

Reproduction Steps

there is a repo to reproduce

WpfApp1.zip

then do like that https://github.com/user-attachments/assets/8b5da088-b63c-41ef-98ef-a66199c78c77

Expected behavior

ToggleButton of the combobex should be in the right

Actual behavior

ToggleButton of the combobex shown in the center of the combobox as show in the pictures and videos

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

.Net 10 Windows 11 Any

Other information

No response