0

We were working on a WPF application project, and the 'about 1px problem' puzzled us a lot.

Finally, we guess maybe the problem about Width and ActualWidth.

For instance, we set Border width to 160px, and the actual width would be 160.4px.

Any method can help to find the details of the added 0.4px?

4

1 回答 1

0

尝试使用“WPF Inspector”或 Snopp 等工具。这可能有助于在运行时检测问题。

于 2013-08-30T08:15:15.723 回答