简体   繁体   中英

In Xceed WPF PropertyGrid how to make Search and Sort buttons invisible

I would like to make the Alphabetic Sort and Search bar invisible on the Xceed WPF PropertyGrid. How would that be done? I have read through the list of object attributes for the PropertyGrid and did not see any property relating to the search button as a separate UI element within the PG.

您应该设置以下属性:

 <extToolkit:PropertyGrid ShowSearchBox="False" ShowSortOptions="False" />

Acutally, found it:

        PG.ShowSearchBox = false;
        PG.ShowSortOptions = false;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM