title: How to make string bold in wpf
body: <p>I used Stimulsoft for printing.so I set a string to a column of datatable .My code for set mystring varieble is : </p>
  
  <pre><code>foreach(var item1 in listpp)
  {
      KalaClass.KalaTozihat += item1.value + " :  " + findPropertyName(item1.propertyID) + "\r";
  }
  </code></pre>
  
  <p>My code for print button is:</p>
  
  <pre><code>private void btnPrint_Click(object sender, RoutedEventArgs e)
      {
          try
          {
              DataTable dta = new DataTable();
              DataSet1.DtKalaDataTable dt = new DataSet1.DtKalaDataTable();
              List&lt;KalaClass&gt; list = MetroDataGrid.ItemsSource as List&lt;KalaClass&gt;;
  
              foreach (var item in list)
              {
                  var row = dt.NewRow();
  
                  row["id"] = item.KalaID.ToString();
                  row["name"] = item.KalaName;
                  row["tedad"] = item.KalaTedad.ToString();
                  row["price"] = item.KalaPrice;
                  row["info"] = item.KalaTozihat;
                  row["date"] = item.KalaDate;
                  row["cat"] = item.catName;
                  row["productCode"] = item.proCode;
                  row["productCode"] = item.proCode;
                  row["pic"] = item.Pics;
                  dt.Rows.Add(row);
              }
  
              DataSet ds = new DataSet();
              ds.Tables.Add(dt);
  
  
              StiReport report = new StiReport();
              report.Load("Report1.mrt");
              report.Dictionary.Clear();
              report.RegData("DtKala", ds);
              report.Dictionary.Synchronize();
              DateTime today = Convert.ToDateTime(DateTime.Today.ToShortDateString());
  
              (report.GetComponentByName("txtDate") as StiText).Text = convertDate.toShamsi(today);
              //(report.GetComponentByName("txtName") as StiText).Text = comboBox.SelectionBoxItem.ToString();
              //(report.GetComponentByName("Text1") as StiText).Text = txtid.Text;
  
  
              report.Show();
          }
  
          catch (Exception ex)
          {
              MessageBox.Show(ex.Message.ToString());
          }
      }
  </code></pre>
  
  <p>And result is : </p>
  
  <p><a href="https://i.stack.imgur.com/NOE9J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NOE9J.png" alt="enter image description here"></a></p>
  
  <p>Now I want to bold  <strong>findPropertyName(item1.propertyID)</strong> .I very googling but I can't find any answer to my question. So How can I fix it?</p>