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)
41InterpolateDouble(from.Left, to.Left, progress),
59AddDouble(value1.Left, value2.Left),
72value1.Left - value2.Left,
90Math.Pow(GetSegmentLengthDouble(from.Left, to.Left), 2.0)
110ScaleDouble(value.Left, factor),
133if ( IsValidAnimationValueDouble(value.Left)
156GetZeroValueDouble(baseValue.Left),
MS\Internal\PtsHost\Section.cs (4)
118fsrcMargin.u = TextDpi.ToTextDpi(pageMargin.Left);
120fsrcMargin.du = durPage - TextDpi.ToTextDpi(pageMargin.Left + pageMargin.Right);
226ccol = PtsHelper.CalculateColumnCount(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, enableColumns);
366PtsHelper.GetColumnsInfo(columnProperties, lineHeight, pageSize.Width - (pageMargin.Left + pageMargin.Right), pageFontSize, pageFontFamily, ncol, pfscolinfo, enableColumns);
MS\Internal\PtsHost\SubpageParaClient.cs (4)
85mbp.Border = new Thickness(mbp.Border.Left, 0.0, mbp.Border.Right, mbp.Border.Bottom);
86mbp.Padding = new Thickness(mbp.Padding.Left, 0.0, mbp.Padding.Right, mbp.Padding.Bottom);
91mbp.Border = new Thickness(mbp.Border.Left, mbp.Border.Top, mbp.Border.Right, 0.0);
92mbp.Padding = new Thickness(mbp.Padding.Left, mbp.Padding.Top, mbp.Padding.Right, 0.0);
System\Windows\Controls\Border.cs (11)
220borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
267borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
415pen.Thickness = UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX);
419pen.Thickness = border.Left;
459if (DoubleUtil.GreaterThanZero(border.Left))
572ptTL = new Point(UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX),
588ptTL = new Point(border.Left, border.Top);
623return new Size(th.Left + th.Right, th.Top + th.Bottom);
637return new Rect(rt.Left + thick.Left,
639Math.Max(0.0, rt.Width - thick.Left - thick.Right),
937double left = 0.5 * borders.Left;
System\Windows\Controls\VirtualizingStackPanel.cs (18)
3011_pixelDistanceToViewport += (isHorizontal ? inset.Left : inset.Top);
5299viewport.X -= IsPixelBased ? inset.Left : isHeaderBeforeItems ? 1 : 0;
5368if (DoubleUtil.GreaterThanOrClose(viewport.Width, inset.Left))
5373viewport.Width = Math.Max(0, viewport.Width - inset.Left);
5384cacheAfterSize = Math.Max(0, cacheAfterSize - (inset.Left - viewport.Width));
5401cacheAfterSize = Math.Max(0, cacheAfterSize - inset.Left);
6439inset.Left = headerDesiredSizes.PixelSize.Width + margin.Left;
6471childRect.Offset(-margin.Left, -margin.Top);
6500changed = !( DoubleUtil.AreClose(oldInset.Left, inset.Left) &&
6511( (isHorizontal && !(AreInsetsClose(oldInset.Left, inset.Left) &&
6614return DoubleUtil.GreaterThanOrClose(inset.Left - margin.Left, inset.Right - margin.Right);
7118Size frontPixelSize = isHorizontal ? new Size(Math.Max(inset.Left,0), childDesiredSize.Height)
7652childPixelSize = new Size(inset.Left + itemDesiredSizes.PixelSize.Width + inset.Right,
11080offset += (isHorizontal ? inset.Left : inset.Top);
12971writer.Write(thickness.Left);
System\Windows\Documents\TextRangeEdit.cs (9)
1079? currentThickness.Left
1080: GetNewDoubleValue(null, currentThickness.Left, newThickness.Right, propertyValueAction);
1082rightMargin = newThickness.Left < 0
1084: GetNewDoubleValue(null, currentThickness.Right, newThickness.Left, propertyValueAction);
1088leftMargin = newThickness.Left < 0
1089? currentThickness.Left
1090: GetNewDoubleValue(null, currentThickness.Left, newThickness.Left, propertyValueAction);
1238/*right:*/((Thickness)value).Left,
PresentationFramework.Aero (13)
PresentationFramework.Aero2 (13)
PresentationFramework.AeroLite (4)
PresentationFramework.Classic (28)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (24)
571return (thickness.Left >= 0 && !double.IsPositiveInfinity(thickness.Left) &&
595return new Size(th.Left + th.Right, th.Top + th.Bottom);
601return new Rect(rt.Left + thick.Left,
603Math.Max(0.0, rt.Width - thick.Left - thick.Right),
713double borderWidth = border.Left + border.Right;
719childArrangeRect.X = border.Left;
744return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s);
843xLines = 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;
1295if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1303if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom))
1311if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom))
1320if (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)