2013-09-24 49 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和其他格式选项在字符串实际显示时适用。