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