FormatData.IsBold 属性

适用于版本2

获取或设置格式是否采用粗体设置。

命名空间:  Microsoft.WebMatrix.Extensibility.Editor
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Public Property IsBold As Boolean 
    Get 
    Set
用法
Dim instance As FormatData 
Dim value As Boolean 

value = instance.IsBold

instance.IsBold = value
public bool IsBold { get; set; }
public:
property bool IsBold {
    bool get ();
    void set (bool value);
}
member IsBold : bool with get, set
function get IsBold () : boolean 
function set IsBold (value : boolean)

属性值

类型:System.Boolean
如果格式采用粗体设置,则为 true;否则为 false。

请参阅

参考

FormatData 类

Microsoft.WebMatrix.Extensibility.Editor 命名空间