17 writes to Left
PresentationFramework (8)
PresentationFramework.Aero (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Left += 1.0;
PresentationFramework.Aero2 (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Left += 1.0;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Left += 1.0;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Left += 1.0;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Left += 1.0;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Left += 1.0;
System.Windows.Controls.Ribbon (1)
249 references to Left
PresentationFramework (155)
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),
MS\Internal\PtsHost\Section.cs (4)
116fsrcMargin.u = TextDpi.ToTextDpi(pageMargin.Left);
118fsrcMargin.du = durPage - TextDpi.ToTextDpi(pageMargin.Left + pageMargin.Right);
224ccol = PtsHelper.CalculateColumnCount(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, enableColumns);
364PtsHelper.GetColumnsInfo(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, ncol, pfscolinfo, enableColumns);
MS\Internal\PtsHost\SubpageParaClient.cs (4)
80mbp.Border = new Thickness(mbp.Border.Left, 0.0, mbp.Border.Right, mbp.Border.Bottom);
81mbp.Padding = new Thickness(mbp.Padding.Left, 0.0, mbp.Padding.Right, mbp.Padding.Bottom);
86mbp.Border = new Thickness(mbp.Border.Left, mbp.Border.Top, mbp.Border.Right, 0.0);
87mbp.Padding = new Thickness(mbp.Padding.Left, mbp.Padding.Top, mbp.Padding.Right, 0.0);
System\Windows\Controls\Border.cs (11)
216borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
263borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
413pen.Thickness = UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX);
417pen.Thickness = border.Left;
457if (DoubleUtil.GreaterThanZero(border.Left))
576ptTL = new Point(UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX),
592ptTL = new Point(border.Left, border.Top);
627return new Size(th.Left + th.Right, th.Top + th.Bottom);
641return new Rect(rt.Left + thick.Left,
643Math.Max(0.0, rt.Width - thick.Left - thick.Right),
941double left = 0.5 * borders.Left;
System\Windows\Controls\VirtualizingStackPanel.cs (18)
3004_pixelDistanceToViewport += (isHorizontal ? inset.Left : inset.Top);
5292viewport.X -= IsPixelBased ? inset.Left : isHeaderBeforeItems ? 1 : 0;
5361if (DoubleUtil.GreaterThanOrClose(viewport.Width, inset.Left))
5366viewport.Width = Math.Max(0, viewport.Width - inset.Left);
5377cacheAfterSize = Math.Max(0, cacheAfterSize - (inset.Left - viewport.Width));
5394cacheAfterSize = Math.Max(0, cacheAfterSize - inset.Left);
6432inset.Left = headerDesiredSizes.PixelSize.Width + margin.Left;
6464childRect.Offset(-margin.Left, -margin.Top);
6493changed = !( DoubleUtil.AreClose(oldInset.Left, inset.Left) &&
6504( (isHorizontal && !(AreInsetsClose(oldInset.Left, inset.Left) &&
6607return DoubleUtil.GreaterThanOrClose(inset.Left - margin.Left, inset.Right - margin.Right);
7113Size frontPixelSize = isHorizontal ? new Size(Math.Max(inset.Left,0), childDesiredSize.Height)
7647childPixelSize = new Size(inset.Left + itemDesiredSizes.PixelSize.Width + inset.Right,
11077offset += (isHorizontal ? inset.Left : inset.Top);
12960writer.Write(thickness.Left);
System\Windows\Documents\TextRangeEdit.cs (9)
1077? currentThickness.Left
1078: GetNewDoubleValue(null, currentThickness.Left, newThickness.Right, propertyValueAction);
1080rightMargin = newThickness.Left < 0
1082: GetNewDoubleValue(null, currentThickness.Right, newThickness.Left, propertyValueAction);
1086leftMargin = newThickness.Left < 0
1087? currentThickness.Left
1088: GetNewDoubleValue(null, currentThickness.Left, newThickness.Left, propertyValueAction);
1236/*right:*/((Thickness)value).Left,
PresentationFramework.Aero (13)
PresentationFramework.Aero2 (13)
PresentationFramework.AeroLite (4)
PresentationFramework.Classic (28)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (24)
570return (thickness.Left >= 0 && !double.IsPositiveInfinity(thickness.Left) &&
594return new Size(th.Left + th.Right, th.Top + th.Bottom);
600return new Rect(rt.Left + thick.Left,
602Math.Max(0.0, rt.Width - thick.Left - thick.Right),
712double borderWidth = border.Left + border.Right;
718childArrangeRect.X = border.Left;
743return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s);
842xLines = GetPixelSnappingGuidelines(width, singleThickness.Left, singleThickness.Right, (int)classicThickness);
958if (borderThickness.Left > 0.0)
960dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, borderThickness.Left, bounds.Height));
987DrawBorder(highlight, new Thickness(singleThickness.Left, singleThickness.Top, 0, 0), dc, ref bounds);
995if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1005if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1014if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1024if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1048if (bounds.Width < singleThickness.Left + singleThickness.Right)
1051dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, singleThickness.Left, bounds.Height));
1054bounds.X += singleThickness.Left;
1055bounds.Width -= singleThickness.Left + singleThickness.Right;
1300if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1308if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1316if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1325if (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)