28 references to MinWidth
PresentationFramework (28)
MS\Internal\PtsHost\ContainerParaClient.cs (2)
66
_rect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du);
67
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv);
MS\Internal\PtsHost\FigureParaClient.cs (4)
84
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BPRight - mbp.BPLeft);
86
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BPBottom - mbp.BPTop);
89
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BorderRight - mbp.BorderLeft);
91
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
MS\Internal\PtsHost\FigureParagraph.cs (3)
241
subpageWidth = TextDpi.ToTextDpi(TextDpi.
MinWidth
);
617
width = Math.Max(TextDpi.
MinWidth
, maxTotalWidth - elementMarginWidth);
646
height = Math.Max(TextDpi.
MinWidth
, maxTotalHeight - elementMarginHeight);
MS\Internal\PtsHost\FloaterParaClient.cs (4)
205
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BPRight - mbp.BPLeft);
207
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BPBottom - mbp.BPTop);
210
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BorderRight - mbp.BorderLeft);
212
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
MS\Internal\PtsHost\FloaterParagraph.cs (2)
306
subpageWidth = TextDpi.ToTextDpi(TextDpi.
MinWidth
);
474
subpageWidth = TextDpi.ToTextDpi(TextDpi.
MinWidth
);
MS\Internal\PtsHost\PtsPage.cs (4)
781
_calculatedSize.Width = Math.Max(TextDpi.
MinWidth
, TextDpi.FromTextDpi(rect.du));
782
_calculatedSize.Height = Math.Max(TextDpi.
MinWidth
, TextDpi.FromTextDpi(rect.dv));
786
_contentSize.Width = Math.Max(Math.Max(TextDpi.FromTextDpi(bbox.fsrc.du), TextDpi.
MinWidth
), _calculatedSize.Width);
787
_contentSize.Height = Math.Max(TextDpi.
MinWidth
, TextDpi.FromTextDpi(bbox.fsrc.dv));
MS\Internal\PtsHost\SubpageParaClient.cs (4)
97
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BPRight - mbp.BPLeft);
99
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BPBottom - mbp.BPTop);
102
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BorderRight - mbp.BorderLeft);
104
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
MS\Internal\PtsHost\UIElementParaClient.cs (2)
80
_rect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du);
81
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv);
MS\Internal\Text\DynamicPropertyReader.cs (1)
217
return Math.Max(TextDpi.
MinWidth
, Math.Min(TextDpi.MaxWidth, lineHeight));
System\Windows\Documents\Block.cs (1)
488
double minLineHeight = TextDpi.
MinWidth
;
System\Windows\Documents\TextElement.cs (1)
1605
double minFontSize = TextDpi.
MinWidth
;