IncometextBlock.Text = "Income entries on " + selectedDate.ToShortDateString() + " Page - "+SelectedButtonName+"";
我想输出为
“2011年1月21日收入条目页 – A”
IncometextBlock.Inlines.Clear(); IncometextBlock.Inlines.Add(new Run() {Text = "Income entries",FontWeight = FontWeights.Bold}); IncometextBlock.Inlines.Add(new Run() {Text = " on " }); IncometextBlock.Inlines.Add(new Run() {Text = selectedDate.ToShortDateString(),FontWeight = FontWeights.Bold}); IncometextBlock.Inlines.Add(new Run() {Text = " Page - "}); IncometextBlock.Inlines.Add(new Run() {Text = SelectedButtonName,FontWeight = FontWeights.Bold});