Exemple #1
0
 public double DetermineWidth(double pixelsPerDip = 1.0)
 {
     return(Inlines.Sum(x => x switch
     {
         ZRun run => run.DetermineWidth(pixelsPerDip),
         _ => 0.0
     }));
 public void RemoveInline(ZRun run)
 {
     base.Inlines.Remove(run);
 }
 public void AddInline(ZRun run)
 {
     base.Inlines.Add(run);
 }
Exemple #4
0
 public void RemoveInline(ZRun run)
 {
     base.Inlines.Remove(run);
 }
Exemple #5
0
 public void AddInline(ZRun run)
 {
     base.Inlines.Add(run);
 }