简体   繁体   English

如何更改RadGrid的CommandItemDisplay大小?

[英]How to change the CommandItemDisplay size of RadGrid?

I have a RadGrid working well with "+ Add new Record" and "Refresh" buttons placed on the top of the grid: 我的RadGrid与放置在网格顶部的“ +添加新记录”和“刷新”按钮配合良好:

<MasterTableView CommandItemDisplay="Top" HorizontalAlign="NotSet"
AutoGenerateColumns="False" ShowFooter="False" ShowHeadersWhenNoRecords="True"> 

But the area where those buttons are placed (top) is too big and I can't change the size of it. 但是这些按钮的放置区域(顶部)太大,我无法更改其大小。

Where can I set the property "Height" of the menu? 在哪里可以设置菜单的“高度”属性?

CommandItemStyle-Height属性更改为方便的大小

<MasterTableView  CommandItemDisplay="Top" CommandItemStyle-Height="30">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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