是否可以从表达式中应用样式?
我想将名称字段斜体:
=Fields!Text.Value & " - " & Fields!CreatedDate.Value & " " & Fields!Name.Value 
是否可以从表达式中应用样式?
我想将名称字段斜体:
=Fields!Text.Value & " - " & Fields!CreatedDate.Value & " " & Fields!Name.Value 
文本框包含文本运行。每个 textrun 都有自己的风格。您需要编辑代码使其看起来像这样:
<Textbox>
 <TextRun>
  <Value>=Fields!Text.Value & " - " & Fields!CreatedDate.Value & " "</Value>
 </TextRun>
 <TextRun>
  <Value>=Fields!Name.Value</Value>
   <Style>
    <FontStyle>Italic</FontStyle>
   </Style>
 </TextRun>
</Textbox>
为单个文本框中的每个字段创建占位符。这允许您更改每个特定字段的样式。我的博客上有一篇关于此的文章。http://mrthetrain.wordpress.com/2012/09/14/placeholders-2/