17 writes to Left
PresentationFramework (8)
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
235pageMargin.Left = lineHeight;
src\Framework\MS\Internal\PtsHost\MbpInfo.cs (1)
75thickness.Left = thickness.Right;
src\Framework\MS\Internal\Text\TextDpi.cs (1)
173pageMargin.Left = pageSize.Width - _minSize;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
6301inset.Left = headerDesiredSizes.PixelSize.Width + margin.Left;
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
1018pageMargin.Left = lineHeight;
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (3)
416templateFixupMargin.Left -= SystemParameters.WindowResizeBorderThickness.Left; 1405deviceGlassThickness.Left -= windowResizeBorderThicknessDevice.Left; 1406deviceGlassThickness.Left = Math.Max(0, deviceGlassThickness.Left);
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
287border.Left += 1.0;
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
274padding.Left += 1.0;
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
274padding.Left += 1.0;
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
274padding.Left += 1.0;
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
274padding.Left += 1.0;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorLabelMarginConverter.cs (1)
37margin.Left = labelLocation.X;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorPointsToArrowMarginConverter.cs (3)
28margin.Left = points[points.Count - 1].X - offset; 36margin.Left -= offset; 42margin.Left += offset;
232 references to Left
PresentationFramework (157)
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\Documents\FlowDocumentFormatter.cs (1)
233if (DoubleUtil.IsNaN(pageMargin.Left))
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (2)
474InkCanvas.SetLeft(updatedElement, newPosition.X - thickness.Left); // Left wasn't auto 485InkCanvas.SetLeft(updatedElement, newPosition.X - thickness.Left); // Both Left and Right were aut. Modify Left by default.
src\Framework\MS\Internal\PtsHost\FigureHelper.cs (1)
246double pageWidth = pageSize.Width - (pageMargin.Left + pageMargin.Right);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (1)
625maxTotalWidth = StructuralCache.CurrentFormatContext.PageWidth - pageMargin.Left - pageMargin.Right;
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (8)
138if(!DoubleUtil.AreClose(_lastFormatWidth, pageSize.Width) || !DoubleUtil.AreClose(_pageMargin.Left, pageMargin.Left) || 165pageSize.Width += pageMargin.Left + pageMargin.Right; 168SetContentBox(new Rect(pageMargin.Left, pageMargin.Top, _ptsPage.CalculatedSize.Width, _ptsPage.CalculatedSize.Height)); 197double pageMarginAdjustment = PtsHelper.CalculatePageMarginAdjustment(_structuralCache, pageSize.Width - (pageMargin.Left + pageMargin.Right)); 206SetContentBox(new Rect(pageMargin.Left, pageMargin.Top, 207pageSize.Width - (pageMargin.Left + pageMargin.Right), 719size.Width += _pageMargin.Left + _pageMargin.Right;
src\Framework\MS\Internal\PtsHost\MbpInfo.cs (16)
74double temp = thickness.Left; 141Double.IsNaN(mbp.Margin.Left) ? defaultMargin.Left : mbp.Margin.Left, 166Double.IsNaN(mbp.Padding.Left) ? defaultPadding.Left : mbp.Padding.Left, 177get { return TextDpi.ToTextDpi(_margin.Left) + TextDpi.ToTextDpi(_border.Left) + TextDpi.ToTextDpi(_padding.Left); } 209get { return TextDpi.ToTextDpi(_border.Left) + TextDpi.ToTextDpi(_padding.Left); } 241get { return TextDpi.ToTextDpi(_border.Left); } 273get { return TextDpi.ToTextDpi(_margin.Left); } 340Double.IsNaN(_padding.Left) || 355Double.IsNaN(_margin.Left) ||
src\Framework\MS\Internal\PtsHost\ParagraphVisual.cs (3)
96pen.Thickness = _borderThickness.Left; 108if (DoubleUtil.GreaterThan(_borderThickness.Left, 0)) 156new Point(_renderBounds.Left + _borderThickness.Left, _renderBounds.Top + _borderThickness.Top),
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\StructuralCache.cs (2)
774internal PTS.FSRECT PageMarginRect { get { return new PTS.FSRECT(new Rect(PageMargin.Left, PageMargin.Top, 775PageSize.Width - PageMargin.Left - PageMargin.Right,
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\MS\Internal\PtsHost\TableParaClient.cs (4)
2110totalPadding = Table.InternalCellSpacing * Table.ColumnCount + mbpInfo.Margin.Left + mbpInfo.Border.Left + mbpInfo.Padding.Left + mbpInfo.Padding.Right + mbpInfo.Border.Right + mbpInfo.Margin.Right; 2532durTableWidth += mbpInfo.Margin.Left + TextDpi.FromTextDpi(mbpInfo.MBPRight);
src\Framework\MS\Internal\Text\TextDpi.cs (4)
167if (pageMargin.Left >= pageSize.Width) { pageMargin.Right = 0.0; } 168if (pageMargin.Left + pageMargin.Right >= pageSize.Width) 170pageMargin.Right = Math.Max(0.0, pageSize.Width - pageMargin.Left - _minSize); 171if (pageMargin.Left + pageMargin.Right >= pageSize.Width)
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\Control.cs (1)
386return (t.Left >= 0.0d
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
171delta += margin.Left;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
593Math.Max(ia.OriginWidth, pagePadding.Left),
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (2)
214desiredSizeWithoutMargin.Width = Math.Max(0d, element.DesiredSize.Width - margin.Left - margin.Right); 266double leftOffset = margin.Left;
src\Framework\System\Windows\Controls\ProgressBar.cs (3)
242if (DoubleUtil.GreaterThan( _glow.Margin.Left,startPos) && ( DoubleUtil.LessThan(_glow.Margin.Left, endPos-1))) 246startTime = TimeSpan.FromSeconds(-1*(_glow.Margin.Left-startPos)/200.0);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
711Math.Max(ia.OriginWidth, pagePadding.Left),
src\Framework\System\Windows\Controls\TextBlock.cs (6)
1353Size contentSize = new Size(Math.Max(0.0, constraint.Width - (padding.Left + padding.Right)), 1425desiredSize.Width += (padding.Left + padding.Right); 2067Size contentSize = new Size(Math.Max(0.0, _referenceSize.Width - (padding.Left + padding.Right)), 3206Size contentSize = new Size(Math.Max(0.0, computedSize.Width - (padding.Left + padding.Right)), 3222contentOffset.X += padding.Left; 3284double paddingWidth = Padding.Left + Padding.Right;
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (2)
251return padding.IsValid(true, false, false, false) ? NativeObjectLengthToPoints(padding.Left) : 0; 340return margin.IsValid(true, false, false, false) ? NativeObjectLengthToPoints(margin.Left) : 0;
src\Framework\System\Windows\Controls\ToolBar.cs (1)
568extraLength = Math.Max(0.0, desiredSize.Width - toolBarPanel.DesiredSize.Width + margin.Left + margin.Right);
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\Block.cs (4)
560if (Double.IsNaN(t.Left) || Double.IsNaN(t.Right) || Double.IsNaN(t.Top) || Double.IsNaN(t.Bottom)) 565if (!Double.IsNaN(t.Left) && (t.Left < 0 || t.Left > maxThickness))
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
1016if (DoubleUtil.IsNaN(pageMargin.Left))
src\Framework\System\Windows\Documents\Paragraph.cs (1)
243return (Double.IsNaN(margin.Left) && Double.IsNaN(margin.Right) && Double.IsNaN(margin.Top) && Double.IsNaN(margin.Bottom));
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
821flowDirection == FlowDirection.LeftToRight && margin.Left > 0 ||
src\Framework\System\Windows\Documents\TextRange.cs (1)
1665((Thickness)value).Right, ((Thickness)value).Top, ((Thickness)value).Left, ((Thickness)value).Bottom);
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,
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
1292double borderRight = cell.ColumnIndex + cell.ColumnSpan < columnCount ? 0.0 : border.Left;
src\Framework\System\Windows\FrameworkElement.cs (4)
4328double marginWidth = margin.Left + margin.Right; 4575double marginWidth = margin.Left + margin.Right; 4781offset.X += finalRect.X + margin.Left; 4931double marginWidth = margin.Left + margin.Right;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
2476double x = -deflateThickness.Left; 2478double width = uiElement.RenderSize.Width + deflateThickness.Left + deflateThickness.Right;
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (8)
416templateFixupMargin.Left -= SystemParameters.WindowResizeBorderThickness.Left; 451templateFixupMargin.Right -= SystemParameters.WindowResizeBorderThickness.Left; 504templateFixupTransform = new MatrixTransform(1, 0, 0, 1, -(nonClientThickness.Left + nonClientThickness.Right), 0); 703rcClientArea.Left += (int)windowResizeBorderThicknessDevice.Left; 1405deviceGlassThickness.Left -= windowResizeBorderThicknessDevice.Left; 1406deviceGlassThickness.Left = Math.Max(0, deviceGlassThickness.Left); 1423cxLeftWidth = (int)Math.Ceiling(deviceGlassThickness.Left), 1463if (mousePosition.X >= windowPosition.Left && mousePosition.X < windowPosition.Left + (int)_chromeInfo.ResizeBorderThickness.Left)
src\Framework\System\Windows\Standard\DpiHelper.cs (1)
77Point topLeft = LogicalPixelsToDevice(new Point(logicalThickness.Left, logicalThickness.Top), dpiScaleX, dpiScaleY);
src\Framework\System\Windows\Standard\Utilities.cs (1)
288if (!IsDoubleFiniteAndNonNegative(thickness.Left))
src\Framework\System\Windows\Thickness.cs (10)
128return DoubleUtil.IsZero(Left) 139return DoubleUtil.AreClose(Left, Top) 140&& DoubleUtil.AreClose(Left, Right) 141&& DoubleUtil.AreClose(Left, Bottom); 158if(Left < 0d || Right < 0d || Top < 0d || Bottom < 0d) 164if(DoubleUtil.IsNaN(Left) || DoubleUtil.IsNaN(Right) || DoubleUtil.IsNaN(Top) || DoubleUtil.IsNaN(Bottom)) 170if(Double.IsPositiveInfinity(Left) || Double.IsPositiveInfinity(Right) || Double.IsPositiveInfinity(Top) || Double.IsPositiveInfinity(Bottom)) 178if(Double.IsNegativeInfinity(Left) || Double.IsNegativeInfinity(Right) || Double.IsNegativeInfinity(Top) || Double.IsNegativeInfinity(Bottom)) 196return ( DoubleUtil.AreClose(Left, thickness.Left)
src\Framework\System\Windows\ThicknessConverter.cs (2)
161return new InstanceDescriptor(ci, new object[] { th.Left, th.Top, th.Right, th.Bottom }); 189sb.Append(LengthConverter.ToString(th.Left, cultureInfo));
src\Framework\System\Windows\Window.cs (2)
6987if (margin.Left + margin.Right >= logicalClientRc.Width 6996LogicalToDeviceUnits(new Point(margin.Left, margin.Top)),
PresentationFramework.Aero (13)
Microsoft\Windows\Themes\ListBoxChrome.cs (9)
219double borderX = border.Left + border.Right; 280double borderX = border.Left + border.Right; 295childArrangeRect.X = border.Left; 318double borderX = border.Left + border.Right; 326bool isSimpleBorder = border.Left == 1.0 && border.Right == 1.0 && 335Rect backgroundRect = new Rect(bounds.Left + border.Left, 350backgroundRect = new Rect(bounds.Left + border.Left + innerBorderThickness, 499borderFigure.StartPoint = new Point(bounds.Left + thickness.Left, bounds.Top + thickness.Top); 500borderFigure.Segments.Add(new LineSegment(new Point(bounds.Left + thickness.Left, bounds.Bottom - thickness.Bottom), false));
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
195childWidth = Math.Max(0.0, childWidth - padding.Left - padding.Right); 207return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 235double childWidth = Math.Max(0.0, arrangeSize.Width - padding.Left - padding.Right); 238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Classic (28)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (24)
576return (thickness.Left >= 0 && !double.IsPositiveInfinity(thickness.Left) && 600return new Size(th.Left + th.Right, th.Top + th.Bottom); 606return new Rect(rt.Left + thick.Left, 608Math.Max(0.0, rt.Width - thick.Left - thick.Right), 718double borderWidth = border.Left + border.Right; 724childArrangeRect.X = border.Left; 749return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s); 848xLines = GetPixelSnappingGuidelines(width, singleThickness.Left, singleThickness.Right, (int)classicThickness); 962if (borderThickness.Left > 0.0) 964dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, borderThickness.Left, bounds.Height)); 991DrawBorder(highlight, new Thickness(singleThickness.Left, singleThickness.Top, 0, 0), dc, ref bounds); 999if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom)) 1009if (bounds.Width < (singleThickness.Left + singleThickness.Right) || bounds.Height < (singleThickness.Top + singleThickness.Bottom)) 1018if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom)) 1028if (bounds.Width < 2.0 * (singleThickness.Left + singleThickness.Right) || bounds.Height < 2.0 * (singleThickness.Top + singleThickness.Bottom)) 1052if (bounds.Width < singleThickness.Left + singleThickness.Right) 1055dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, singleThickness.Left, bounds.Height)); 1058bounds.X += singleThickness.Left; 1059bounds.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))
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
195childWidth = Math.Max(0.0, childWidth - padding.Left - padding.Right); 207return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 235double childWidth = Math.Max(0.0, arrangeSize.Width - padding.Left - padding.Right); 238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Luna (12)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
237double totalPadding = padding.Left + padding.Right; 244bounds.X += padding.Left;
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
195double borderX = isRound ? 2.0 : thickness.Left + thickness.Right; 210bool isUnitThickness = thickness.Left == 1.0 && thickness.Right == 1.0 && 220innerBounds = new Rect(thickness.Left, 222Math.Max(0, bounds.Width - thickness.Left - thickness.Right), 462return new Rect(rt.Left + thick.Left, 464Math.Max(0.0, rt.Width - thick.Left - thick.Right),
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
195childWidth = Math.Max(0.0, childWidth - padding.Left - padding.Right); 207return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 235double childWidth = Math.Max(0.0, arrangeSize.Width - padding.Left - padding.Right); 238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Royale (12)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
219double totalPadding = padding.Left + padding.Right; 226bounds.X += padding.Left;
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
195double borderX = isRound ? 2.0 : thickness.Left + thickness.Right; 210bool isUnitThickness = thickness.Left == 1.0 && thickness.Right == 1.0 && 220innerBounds = new Rect(thickness.Left, 222Math.Max(0, bounds.Width - thickness.Left - thickness.Right), 462return new Rect(rt.Left + thick.Left, 464Math.Max(0.0, rt.Width - thick.Left - thick.Right),
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
195childWidth = Math.Max(0.0, childWidth - padding.Left - padding.Right); 207return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 235double childWidth = Math.Max(0.0, arrangeSize.Width - padding.Left - padding.Right); 238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartConnectionPointsAdorner.cs (1)
47origin.X += margin.Left;
System\Activities\Core\Presentation\StateMachineConnetionPointsAdorner.cs (1)
31origin.X += margin.Left;
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (2)
901double dropButtonLeft = (innerRect.Right > textAreaInset.Right ? innerRect.Right - textAreaInset.Right : 0d) + dropButtonInset.Left; 914double textAreaLeft = innerRect.Left + textAreaInset.Left;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPoint.cs (2)
116topLeft.Offset(parent.Margin.Left, parent.Margin.Top); 117double parentWidth = parent.DesiredSize.Width - parent.Margin.Left - parent.Margin.Right;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointConverter.cs (2)
29origin.X += margin.Left; 31width = width - margin.Left - margin.Right;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (2)
132Size childSize = new Size(frameworkChild.DesiredSize.Width - margin.Left - margin.Right, frameworkChild.DesiredSize.Height - margin.Top - margin.Bottom); 133Rect rect = new Rect(Point.Add(panel.TranslatePoint(FreeFormPanel.GetLocation(child), outmostPanel), new Vector(margin.Left, margin.Top)), childSize);