28 references to MinWidth
PresentationFramework (28)
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (2)
77
_rect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du);
78
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (4)
104
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BPRight - mbp.BPLeft);
106
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BPBottom - mbp.BPTop);
109
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BorderRight - mbp.BorderLeft);
111
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (3)
251
subpageWidth = TextDpi.ToTextDpi(TextDpi.
MinWidth
);
639
width = Math.Max(TextDpi.
MinWidth
, maxTotalWidth - elementMarginWidth);
668
height = Math.Max(TextDpi.
MinWidth
, maxTotalHeight - elementMarginHeight);
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (4)
230
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BPRight - mbp.BPLeft);
232
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BPBottom - mbp.BPTop);
235
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BorderRight - mbp.BorderLeft);
237
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (2)
314
subpageWidth = TextDpi.ToTextDpi(TextDpi.
MinWidth
);
489
subpageWidth = TextDpi.ToTextDpi(TextDpi.
MinWidth
);
src\Framework\MS\Internal\PtsHost\PtsPage.cs (4)
853
_calculatedSize.Width = Math.Max(TextDpi.
MinWidth
, TextDpi.FromTextDpi(rect.du));
854
_calculatedSize.Height = Math.Max(TextDpi.
MinWidth
, TextDpi.FromTextDpi(rect.dv));
858
_contentSize.Width = Math.Max(Math.Max(TextDpi.FromTextDpi(bbox.fsrc.du), TextDpi.
MinWidth
), _calculatedSize.Width);
859
_contentSize.Height = Math.Max(TextDpi.
MinWidth
, TextDpi.FromTextDpi(bbox.fsrc.dv));
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (4)
116
_contentRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BPRight - mbp.BPLeft);
118
_contentRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BPBottom - mbp.BPTop);
121
_paddingRect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du - mbp.BorderRight - mbp.BorderLeft);
123
_paddingRect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv - mbp.BorderBottom - mbp.BorderTop);
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (2)
87
_rect.du = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.du);
88
_rect.dv = Math.Max(TextDpi.ToTextDpi(TextDpi.
MinWidth
), _rect.dv);
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (1)
220
return Math.Max(TextDpi.
MinWidth
, Math.Min(TextDpi.MaxWidth, lineHeight));
src\Framework\System\Windows\Documents\Block.cs (1)
512
double minLineHeight = TextDpi.
MinWidth
;
src\Framework\System\Windows\Documents\TextElement.cs (1)
1656
double minFontSize = TextDpi.
MinWidth
;