2 writes to Width
PresentationFramework (2)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (2)
2358Width = new CellWidth(); 2369Width = new CellWidth(cf.Width);
17 references to Width
PresentationFramework (17)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (13)
2369Width = new CellWidth(cf.Width); 2704int t = (int)Width.Type; 2707sb.Append(Width.Value.ToString(CultureInfo.InvariantCulture)); 2729Width.SetDefaults(); 3058if (cf.Width.Value == 0 && cf.IsCellXSet) 3060cf.Width.Type = WidthType.WidthTwips; 3061cf.Width.Value = (cfPrev == null) ? cf.CellX - Trleft : cf.CellX - cfPrev.CellX; 3063else if (cf.Width.Value > 0 && !cf.IsCellXSet) 3065cellx += cf.Width.Value; 3093if (cf.Width.Type == WidthType.WidthTwips) 3095nCellX += cf.Width.Value; 10647cf.Width.Value = token.Parameter; 10652cf.Width.Type = (WidthType)token.Parameter;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (4)
1630cfSpanned.Width.Value += cf.Width.Value; 3088cf.Width.Type = WidthType.WidthTwips; 3089cf.Width.Value = Converters.PxToTwipRounded(d);