ToolStripItem.Font 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置项目显示的文本的字体。
public:
virtual property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public virtual System.Drawing.Font Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Overridable Property Font As Font
属性值
Font应用于由 .ToolStripItem. 显示的文本。 默认值为属性的值 DefaultFont 。
注解
使用属性 Font 获取或设置默认用于绘制和文本的 ToolStripItem字体。