src\Framework\MS\Internal\AnimatedTypeHelpers.cs (11)
38InterpolateDouble(from.Left, to.Left, progress),
56AddDouble(value1.Left, value2.Left),
69value1.Left - value2.Left,
87Math.Pow(GetSegmentLengthDouble(from.Left, to.Left), 2.0)
107ScaleDouble(value.Left, factor),
130if ( IsValidAnimationValueDouble(value.Left)
153GetZeroValueDouble(baseValue.Left),
src\Framework\MS\Internal\PtsHost\Section.cs (4)
122fsrcMargin.u = TextDpi.ToTextDpi(pageMargin.Left);
124fsrcMargin.du = durPage - TextDpi.ToTextDpi(pageMargin.Left + pageMargin.Right);
235ccol = PtsHelper.CalculateColumnCount(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, enableColumns);
381PtsHelper.GetColumnsInfo(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, ncol, pfscolinfo, enableColumns);
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (4)
104mbp.Border = new Thickness(mbp.Border.Left, 0.0, mbp.Border.Right, mbp.Border.Bottom);
105mbp.Padding = new Thickness(mbp.Padding.Left, 0.0, mbp.Padding.Right, mbp.Padding.Bottom);
110mbp.Border = new Thickness(mbp.Border.Left, mbp.Border.Top, mbp.Border.Right, 0.0);
111mbp.Padding = new Thickness(mbp.Padding.Left, mbp.Padding.Top, mbp.Padding.Right, 0.0);
src\Framework\System\Windows\Controls\Border.cs (11)
227borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
274borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
422pen.Thickness = UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX);
426pen.Thickness = border.Left;
466if (DoubleUtil.GreaterThan(border.Left, 0))
581ptTL = new Point(UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX),
597ptTL = new Point(border.Left, border.Top);
632return new Size(th.Left + th.Right, th.Top + th.Bottom);
646return new Rect(rt.Left + thick.Left,
648Math.Max(0.0, rt.Width - thick.Left - thick.Right),
946double left = 0.5 * borders.Left;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (19)
1269firstContainerOffsetFromViewport -= fe.Margin.Left;
2959_pixelDistanceToViewport += (isHorizontal ? inset.Left : inset.Top);
5182viewport.X -= IsPixelBased ? inset.Left : isHeaderBeforeItems ? 1 : 0;
5251if (DoubleUtil.GreaterThanOrClose(viewport.Width, inset.Left))
5256viewport.Width = Math.Max(0, viewport.Width - inset.Left);
5267cacheAfterSize = Math.Max(0, cacheAfterSize - (inset.Left - viewport.Width));
5284cacheAfterSize = Math.Max(0, cacheAfterSize - inset.Left);
6301inset.Left = headerDesiredSizes.PixelSize.Width + margin.Left;
6333childRect.Offset(-margin.Left, -margin.Top);
6362changed = !( DoubleUtil.AreClose(oldInset.Left, inset.Left) &&
6373( (isHorizontal && !(AreInsetsClose(oldInset.Left, inset.Left) &&
6477return DoubleUtil.GreaterThanOrClose(inset.Left - margin.Left, inset.Right - margin.Right);
6978Size frontPixelSize = isHorizontal ? new Size(Math.Max(inset.Left,0), childDesiredSize.Height)
7512childPixelSize = new Size(inset.Left + itemDesiredSizes.PixelSize.Width + inset.Right,
10933offset += (isHorizontal ? inset.Left : inset.Top);
12804writer.Write(thickness.Left);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (9)
1081? currentThickness.Left
1082: GetNewDoubleValue(null, currentThickness.Left, newThickness.Right, propertyValueAction);
1084rightMargin = newThickness.Left < 0
1086: GetNewDoubleValue(null, currentThickness.Right, newThickness.Left, propertyValueAction);
1090leftMargin = newThickness.Left < 0
1091? currentThickness.Left
1092: GetNewDoubleValue(null, currentThickness.Left, newThickness.Left, propertyValueAction);
1240/*right:*/((Thickness)value).Left,