PropertyGrid.LargeButtons 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示按钮是以标准大小还是大大小显示。
public:
property bool LargeButtons { bool get(); void set(bool value); };
public bool LargeButtons { get; set; }
member this.LargeButtons : bool with get, set
Public Property LargeButtons As Boolean
属性值
true 如果控件上的按钮显示较大,则为 ;否则,为 false. 默认值为 false。
注解
可以使用此属性增强辅助功能。 大按钮为 32 x 32 像素,而不是标准 16 x 16 像素。 当 app.config 文件包含以下条目时,根据系统 DPI 设置调整大按钮和小按钮的大小:
<appSettings>
<add key="EnableWindowsFormsHighDpiAutoResizing" value="true" />
</appSettings>