Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想让 Xceed WPF PropertyGrid 上的字母排序和搜索栏不可见。那怎么做?我已经阅读了 PropertyGrid 的对象属性列表,并且没有看到任何与搜索按钮相关的属性作为 PG 中的单独 UI 元素。
您应该设置以下属性:
<extToolkit:PropertyGrid ShowSearchBox="False" ShowSortOptions="False" />
Acutally,找到它:
PG.ShowSearchBox = false; PG.ShowSortOptions = false;