OwnerDrawPropertyBag.Font OwnerDrawPropertyBag.Font OwnerDrawPropertyBag.Font OwnerDrawPropertyBag.Font Property

定义

获取或设置由组件显示的文本的字体。Gets or sets the font of the text displayed by the component.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 property System::Drawing::Font ^ Font { System::Drawing::Font ^ get(); void set(System::Drawing::Font ^ value); };
public System.Drawing.Font Font { get; set; }
member this.Font : System.Drawing.Font with get, set
Public Property Font As Font

属性值

要应用于由组件显示的文本的 FontThe Font to apply to the text displayed by the component. 默认值为 nullThe default is null.

适用于