2013-09-24 108 views
0

我需要在BOLD顯示顯示名稱。這是在WPF中。在WPF中加入顯示名稱

}

string fDisplayName; 
[Persistent("DISPLAY_NAME")] 
public string DisplayName 
{ 
    get { return fDisplayName; } 
    set { SetPropertyValue<string>("DisplayName", ref fDisplayName, value); } 
} 

使用AppointmentLabel = DevExpress.Xpf.Scheduler.AppointmentLabel; 使用Resource = DevExpress.XtraScheduler.Resource;

+0

ASP.Net與WPF完全相反。 – SLaks

+2

在你的xaml中,使用FontWeight =「Bold」 – gleng

回答

0

您提供的代碼片段不顯示任何內容。 持久性與存儲有關,而不是顯示。 BOLD和其他格式選項在字符串實際顯示時適用。