What does SnapsToDevicePixels in WPF mean in layman terms?

前端 未结 2 1704
忘了有多久
忘了有多久 2021-01-04 05:19

Anybody? Say I have a Window Class and I give SnapsToDevicePixels = true? what happens?

2条回答
  •  北海茫月
    2021-01-04 05:53

    If so,your will enable pixel snap rendering throughout the UI.For devices operation at greater than 96 dot per inch (dpi),pixel snap rendering can minimize anti-aliasing visual artifacts in the vicinity of single-unit solid lines.And all child elements of that subtree will then report SnapToDevicePixes as true and will have the SnapToDevicePixes visual effect.

提交回复
热议问题