17 writes to Left
PresentationFramework (8)
PresentationFramework.Aero (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
271padding.Left += 1.0;
PresentationFramework.Aero2 (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
271padding.Left += 1.0;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
271padding.Left += 1.0;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
271padding.Left += 1.0;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
271padding.Left += 1.0;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
271padding.Left += 1.0;
System.Windows.Controls.Ribbon (1)
249 references to Left
PresentationFramework (155)
MS\Internal\AnimatedTypeHelpers.cs (11)
37InterpolateDouble(from.Left, to.Left, progress),
55AddDouble(value1.Left, value2.Left),
68value1.Left - value2.Left,
86Math.Pow(GetSegmentLengthDouble(from.Left, to.Left), 2.0)
106ScaleDouble(value.Left, factor),
129if ( IsValidAnimationValueDouble(value.Left)
152GetZeroValueDouble(baseValue.Left),
MS\Internal\PtsHost\Section.cs (4)
115fsrcMargin.u = TextDpi.ToTextDpi(pageMargin.Left);
117fsrcMargin.du = durPage - TextDpi.ToTextDpi(pageMargin.Left + pageMargin.Right);
223ccol = PtsHelper.CalculateColumnCount(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, enableColumns);
363PtsHelper.GetColumnsInfo(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, ncol, pfscolinfo, enableColumns);
MS\Internal\PtsHost\SubpageParaClient.cs (4)
79mbp.Border = new Thickness(mbp.Border.Left, 0.0, mbp.Border.Right, mbp.Border.Bottom);
80mbp.Padding = new Thickness(mbp.Padding.Left, 0.0, mbp.Padding.Right, mbp.Padding.Bottom);
85mbp.Border = new Thickness(mbp.Border.Left, mbp.Border.Top, mbp.Border.Right, 0.0);
86mbp.Padding = new Thickness(mbp.Padding.Left, mbp.Padding.Top, mbp.Padding.Right, 0.0);
System\Windows\Controls\Border.cs (11)
215borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
262borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
412pen.Thickness = UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX);
416pen.Thickness = border.Left;
456if (DoubleUtil.GreaterThanZero(border.Left))
575ptTL = new Point(UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX),
591ptTL = new Point(border.Left, border.Top);
626return new Size(th.Left + th.Right, th.Top + th.Bottom);
640return new Rect(rt.Left + thick.Left,
642Math.Max(0.0, rt.Width - thick.Left - thick.Right),
940double left = 0.5 * borders.Left;
System\Windows\Controls\VirtualizingStackPanel.cs (18)
2994_pixelDistanceToViewport += (isHorizontal ? inset.Left : inset.Top);
5270viewport.X -= IsPixelBased ? inset.Left : isHeaderBeforeItems ? 1 : 0;
5339if (DoubleUtil.GreaterThanOrClose(viewport.Width, inset.Left))
5344viewport.Width = Math.Max(0, viewport.Width - inset.Left);
5355cacheAfterSize = Math.Max(0, cacheAfterSize - (inset.Left - viewport.Width));
5372cacheAfterSize = Math.Max(0, cacheAfterSize - inset.Left);
6410inset.Left = headerDesiredSizes.PixelSize.Width + margin.Left;
6442childRect.Offset(-margin.Left, -margin.Top);
6471changed = !( DoubleUtil.AreClose(oldInset.Left, inset.Left) &&
6482( (isHorizontal && !(AreInsetsClose(oldInset.Left, inset.Left) &&
6585return DoubleUtil.GreaterThanOrClose(inset.Left - margin.Left, inset.Right - margin.Right);
7091Size frontPixelSize = isHorizontal ? new Size(Math.Max(inset.Left,0), childDesiredSize.Height)
7625childPixelSize = new Size(inset.Left + itemDesiredSizes.PixelSize.Width + inset.Right,
11052offset += (isHorizontal ? inset.Left : inset.Top);
12936writer.Write(thickness.Left);
System\Windows\Documents\TextRangeEdit.cs (9)
1076? currentThickness.Left
1077: GetNewDoubleValue(null, currentThickness.Left, newThickness.Right, propertyValueAction);
1079rightMargin = newThickness.Left < 0
1081: GetNewDoubleValue(null, currentThickness.Right, newThickness.Left, propertyValueAction);
1085leftMargin = newThickness.Left < 0
1086? currentThickness.Left
1087: GetNewDoubleValue(null, currentThickness.Left, newThickness.Left, propertyValueAction);
1235/*right:*/((Thickness)value).Left,
PresentationFramework.Aero (13)
PresentationFramework.Aero2 (13)
PresentationFramework.AeroLite (4)
PresentationFramework.Classic (28)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (24)
569return (thickness.Left >= 0 && !double.IsPositiveInfinity(thickness.Left) &&
593return new Size(th.Left + th.Right, th.Top + th.Bottom);
599return new Rect(rt.Left + thick.Left,
601Math.Max(0.0, rt.Width - thick.Left - thick.Right),
711double borderWidth = border.Left + border.Right;
717childArrangeRect.X = border.Left;
742return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s);
841xLines = GetPixelSnappingGuidelines(width, singleThickness.Left, singleThickness.Right, (int)classicThickness);
957if (borderThickness.Left > 0.0)
959dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, borderThickness.Left, bounds.Height));
986DrawBorder(highlight, new Thickness(singleThickness.Left, singleThickness.Top, 0, 0), dc, ref bounds);
994if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1004if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1013if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1023if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1047if (bounds.Width < singleThickness.Left + singleThickness.Right)
1050dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, singleThickness.Left, bounds.Height));
1053bounds.X += singleThickness.Left;
1054bounds.Width -= singleThickness.Left + singleThickness.Right;
1299if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1307if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1315if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1324if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
PresentationFramework.Luna (12)
PresentationFramework.Royale (12)
System.Windows.Controls.Ribbon (11)
WindowsFormsIntegration (1)