StickyNoteControl.CaptionFontStyle 属性

定义

获取或设置 StickyNoteControl 标题使用的字体的样式。

public:
 property System::Windows::FontStyle CaptionFontStyle { System::Windows::FontStyle get(); void set(System::Windows::FontStyle value); };
public System.Windows.FontStyle CaptionFontStyle { get; set; }
member this.CaptionFontStyle : System.Windows.FontStyle with get, set
Public Property CaptionFontStyle As FontStyle

属性值

FontStyle

一个 FontStyle 结构,它表示标题的样式,如正常体、斜体或倾斜。 默认为 MessageFontStyle 的值。

注解

建议不要尝试获取对实例的 StickyNoteControl 引用,因此直接读取或写入此属性。 此属性应仅用于样式设置 StickyNoteControl

依赖项属性信息

标识符字段 CaptionFontStyleProperty
元数据属性设置为 true AffectsMeasure

适用于