2 writes to Width
PresentationFramework (2)
System\Windows\Documents\RtfToXamlReader.cs (2)
2314
Width
= new CellWidth();
2325
Width
= new CellWidth(cf.Width);
17 references to Width
PresentationFramework (17)
System\Windows\Documents\RtfToXamlReader.cs (13)
2325
Width = new CellWidth(cf.
Width
);
2660
int t = (int)
Width
.Type;
2663
sb.Append(
Width
.Value.ToString(CultureInfo.InvariantCulture));
2685
Width
.SetDefaults();
2999
if (cf.
Width
.Value == 0 && cf.IsCellXSet)
3001
cf.
Width
.Type = WidthType.WidthTwips;
3002
cf.
Width
.Value = (cfPrev == null) ? cf.CellX - Trleft : cf.CellX - cfPrev.CellX;
3004
else if (cf.
Width
.Value > 0 && !cf.IsCellXSet)
3006
cellx += cf.
Width
.Value;
3034
if (cf.
Width
.Type == WidthType.WidthTwips)
3036
nCellX += cf.
Width
.Value;
10554
cf.
Width
.Value = token.Parameter;
10559
cf.
Width
.Type = (WidthType)token.Parameter;
System\Windows\Documents\XamlToRtfWriter.cs (4)
1628
cfSpanned.
Width
.Value += cf.
Width
.Value;
3082
cf.
Width
.Type = WidthType.WidthTwips;
3083
cf.
Width
.Value = Converters.PxToTwipRounded(d);