StickyNoteControl.CaptionFontWeight 屬性

定義

取得或設定用於 StickyNoteControl 標題的字型粗細。

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

屬性值

表示字型粗細的 FontWeight 結構,例如粗體、特粗或特細。 預設為 MessageFontWeight 的值。

備註

建議您不要嘗試取得 實例 StickyNoteControl 的參考,因此,您直接讀取或寫入此屬性。 這個屬性應該只用于樣式 StickyNoteControl

相依性屬性資訊

識別碼欄位 CaptionFontWeightProperty
設定為 的中繼資料屬性 true AffectsMeasure

適用於