ClassificationFormatDefinition.IsBold 属性

定义

确定文本是否应为粗体。

public:  property Nullable<bool> IsBold {  public:
Nullable<bool> get(); protected:
 void set(Nullable<bool> value); };
public bool? IsBold { get; protected set; }
member this.IsBold : Nullable<bool> with get, set
Public Property IsBold As Nullable(Of Boolean)

属性值

Nullable<Boolean>

如果文本为粗体,则为 true; 否则为 false。

注解

FontTypeface如果此分类格式具有较高的优先级,此值将覆盖属性中的粗体设置。

适用于