What does mc:Ignorable=“d” mean in WPF?

The mc:Ignorable namespace provides xaml definitions that are "ignored" by the xaml processor.

This allows you to specify information used by the designer at design time which is ignored at runtime. In your case, you can specify DesignHeight and DesignWidth, which are not "real" properties on a Window, but work in the designer for providing a default design time experience.

 

REF: https://stackoverflow.com/questions/15749584/what-does-mcignorable-d-mean-in-wpf

posted @ 2021-08-27 18:25  lishidefengchen  阅读(76)  评论(0编辑  收藏  举报