18 writes to Top
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
QuickInfo\OnTheFlyDocsView.xaml.cs (1)
107new SmoothProgressBar { IsIndeterminate = true, Height = 2, Margin = new Thickness { Top = 2 } },
PresentationFramework (9)
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
230pageMargin.Top = lineHeight;
MS\Internal\Helper.cs (1)
1173itemsCorrectionFactor.Top = itemsRect.Top;
MS\Internal\PtsHost\ParagraphVisual.cs (1)
72_borderThickness.Top = 0.0;
MS\Internal\Text\TextDpi.cs (1)
179pageMargin.Top = pageSize.Height - _minSize;
System\Windows\Controls\VirtualizingStackPanel.cs (1)
6409inset.Top = headerDesiredSizes.PixelSize.Height + margin.Top;
System\Windows\Documents\FlowDocument.cs (1)
1007pageMargin.Top = lineHeight;
System\Windows\Shell\WindowChromeWorker.cs (3)
308templateFixupMargin.Top -= SystemParameters.WindowResizeBorderThickness.Top; 976deviceGlassThickness.Top -= windowResizeBorderThicknessDevice.Top; 977deviceGlassThickness.Top = Math.Max(0, deviceGlassThickness.Top);
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
277border.Top += 1.0;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Top += 1.0;
PresentationFramework.Aero2 (2)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
277border.Top += 1.0;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Top += 1.0;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Top += 1.0;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Top += 1.0;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Top += 1.0;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
272padding.Top += 1.0;
225 references to Top
PresentationFramework (138)
MS\Internal\AnimatedTypeHelpers.cs (11)
38InterpolateDouble(from.Top, to.Top, progress), 56AddDouble(value1.Top, value2.Top), 69value1.Top - value2.Top, 87+ Math.Pow(GetSegmentLengthDouble(from.Top, to.Top), 2.0) 107ScaleDouble(value.Top, factor), 130|| IsValidAnimationValueDouble(value.Top) 153GetZeroValueDouble(baseValue.Top),
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
228if (double.IsNaN(pageMargin.Top))
MS\Internal\Helper.cs (3)
1065headerSize.Height = Math.Max(itemsCorrectionFactor.Top, headerSize.Height); 1195if (!(DoubleUtil.AreClose(itemsCorrectionFactor.Top, oldItemsCorrectionFactor.Top) &&
MS\Internal\Ink\InkCanvasSelection.cs (2)
467InkCanvas.SetTop(updatedElement, newPosition.Y - thickness.Top); // Top wasn't auto 475InkCanvas.SetTop(updatedElement, newPosition.Y - thickness.Top); // Both Top and Bottom were aut. Modify Left by default.
MS\Internal\PtsHost\FigureHelper.cs (2)
136value = (structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom) * figureLength.Value; 179value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom));
MS\Internal\PtsHost\FigureParagraph.cs (1)
625maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom;
MS\Internal\PtsHost\FlowDocumentPage.cs (5)
155pageSize.Height += pageMargin.Top + pageMargin.Bottom; 157SetContentBox(new Rect(pageMargin.Left, pageMargin.Top, _ptsPage.CalculatedSize.Width, _ptsPage.CalculatedSize.Height)); 195SetContentBox(new Rect(pageMargin.Left, pageMargin.Top, 197pageSize.Height - (pageMargin.Top + pageMargin.Bottom))); 690size.Height += _pageMargin.Top + _pageMargin.Bottom;
MS\Internal\PtsHost\MarginCollapsingState.cs (1)
56else if (mcsCurrent == null && DoubleUtil.IsZero(mbp.Margin.Top))
MS\Internal\PtsHost\MbpInfo.cs (15)
138Double.IsNaN(mbp.Margin.Top) ? defaultMargin.Top : mbp.Margin.Top, 163Double.IsNaN(mbp.Padding.Top) ? defaultPadding.Top : mbp.Padding.Top, 189get { return TextDpi.ToTextDpi(_margin.Top) + TextDpi.ToTextDpi(_border.Top) + TextDpi.ToTextDpi(_padding.Top); } 221get { return TextDpi.ToTextDpi(_border.Top) + TextDpi.ToTextDpi(_padding.Top); } 253get { return TextDpi.ToTextDpi(_border.Top); } 285get { return TextDpi.ToTextDpi(_margin.Top); } 338Double.IsNaN(_padding.Top) || 353Double.IsNaN(_margin.Top) ||
MS\Internal\PtsHost\ParagraphVisual.cs (3)
122if (DoubleUtil.GreaterThanZero(_borderThickness.Top)) 127Thickness = _borderThickness.Top 157new Point(_renderBounds.Left + _borderThickness.Left, _renderBounds.Top + _borderThickness.Top),
MS\Internal\PtsHost\Section.cs (2)
116fsrcMargin.v = TextDpi.ToTextDpi(pageMargin.Top); 118fsrcMargin.dv = dvrPage - TextDpi.ToTextDpi(pageMargin.Top + pageMargin.Bottom);
MS\Internal\PtsHost\StructuralCache.cs (2)
763internal PTS.FSRECT PageMarginRect { get { return new PTS.FSRECT(new Rect(PageMargin.Left, PageMargin.Top, 765PageSize.Height - PageMargin.Top - PageMargin.Bottom)); } }
MS\Internal\PtsHost\SubpageParaClient.cs (2)
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);
MS\Internal\PtsHost\UIElementParagraph.cs (1)
429elementHeight = StructuralCache.CurrentFormatContext.DocumentPageSize.Height - pageMargin.Top - pageMargin.Bottom - TextDpi.FromTextDpi(mbp.MBPTop + mbp.MBPBottom);
MS\Internal\Text\TextDpi.cs (4)
173if (pageMargin.Top >= pageSize.Height) { pageMargin.Bottom = 0.0; } 174if (pageMargin.Top + pageMargin.Bottom >= pageSize.Height) 176pageMargin.Bottom = Math.Max(0.0, pageSize.Height - pageMargin.Top - _minSize);; 177if (pageMargin.Top + pageMargin.Bottom >= pageSize.Height)
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), 499if (DoubleUtil.GreaterThanZero(border.Top)) 510pen.Thickness = UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY); 514pen.Thickness = border.Top; 576UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY)); 591ptTL = new Point(border.Left, border.Top); 626return new Size(th.Left + th.Right, th.Top + th.Bottom); 641rt.Top + thick.Top, 643Math.Max(0.0, rt.Height - thick.Top - thick.Bottom)); 941double top = 0.5 * borders.Top;
System\Windows\Controls\Control.cs (1)
377&& t.Top >= 0.0d
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
179delta += margin.Top;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
588Math.Max(ia.OriginHeight, pagePadding.Top),
System\Windows\Controls\Primitives\TabPanel.cs (2)
204Height = Math.Max(0d, element.DesiredSize.Height - margin.Top - margin.Bottom), 260double topOffset = margin.Top;
System\Windows\Controls\SinglePageViewer.cs (1)
703Math.Max(ia.OriginHeight, pagePadding.Top),
System\Windows\Controls\TextBlock.cs (5)
1260Math.Max(0.0, constraint.Height - (padding.Top + padding.Bottom))); 1332desiredSize.Height += (padding.Top + padding.Bottom); 1957Math.Max(0.0, _referenceSize.Height - (padding.Top + padding.Bottom))); 3097Math.Max(0.0, computedSize.Height - (padding.Top + padding.Bottom))); 3113contentOffset.Y += padding.Top;
System\Windows\Controls\TextRangeAdaptor.cs (1)
340return margin.IsValid(true, false, false, false) ? NativeObjectLengthToPoints(margin.Top) : 0;
System\Windows\Controls\ToolBar.cs (1)
546extraLength = Math.Max(0.0, desiredSize.Height - toolBarPanel.DesiredSize.Height + margin.Top + margin.Bottom);
System\Windows\Controls\VirtualizingStackPanel.cs (18)
2994_pixelDistanceToViewport += (isHorizontal ? inset.Left : inset.Top); 5274viewport.Y -= IsPixelBased ? inset.Top : isHeaderBeforeItems ? 1 : 0; 5442if (DoubleUtil.GreaterThanOrClose(viewport.Height, inset.Top)) 5447viewport.Height = Math.Max(0, viewport.Height - inset.Top); 5458cacheAfterSize = Math.Max(0, cacheAfterSize - (inset.Top - viewport.Height)); 5475cacheAfterSize = Math.Max(0, cacheAfterSize - inset.Top); 6409inset.Top = headerDesiredSizes.PixelSize.Height + margin.Top; 6442childRect.Offset(-margin.Left, -margin.Top); 6472DoubleUtil.AreClose(oldInset.Top, inset.Top ) && 6484|| (!isHorizontal && !(AreInsetsClose(oldInset.Top, inset.Top) && 6589return DoubleUtil.GreaterThanOrClose(inset.Top - margin.Top, inset.Bottom - margin.Bottom); 7092: new Size(childDesiredSize.Width, Math.Max(inset.Top, 0)); 7626inset.Top + itemDesiredSizes.PixelSize.Height + inset.Bottom); 11052offset += (isHorizontal ? inset.Left : inset.Top); 12937writer.Write(thickness.Top);
System\Windows\Documents\Block.cs (4)
533if (Double.IsNaN(t.Left) || Double.IsNaN(t.Right) || Double.IsNaN(t.Top) || Double.IsNaN(t.Bottom)) 546if (!Double.IsNaN(t.Top) && (t.Top < 0 || t.Top > maxThickness))
System\Windows\Documents\FlowDocument.cs (1)
1005if (double.IsNaN(pageMargin.Top))
System\Windows\Documents\Paragraph.cs (1)
235return (Double.IsNaN(margin.Left) && Double.IsNaN(margin.Right) && Double.IsNaN(margin.Top) && Double.IsNaN(margin.Bottom));
System\Windows\Documents\TextRange.cs (1)
1657((Thickness)value).Right, ((Thickness)value).Top, ((Thickness)value).Left, ((Thickness)value).Bottom);
System\Windows\Documents\TextRangeEdit.cs (5)
1059double topMargin = newThickness.Top < 0 1060? currentThickness.Top 1061: GetNewDoubleValue(null, currentThickness.Top, newThickness.Top, propertyValueAction); 1234/*top:*/((Thickness)value).Top,
System\Windows\Documents\TextRangeEditTables.cs (1)
1291double borderBottom = rowIndex + cell.RowSpan < rowCount ? 0.0 : border.Top;
System\Windows\FrameworkElement.cs (4)
4309double marginHeight = margin.Top + margin.Bottom; 4559double marginHeight = margin.Top + margin.Bottom; 4766offset.Y += finalRect.Y + margin.Top; 4918double marginHeight = margin.Top + margin.Bottom;
System\Windows\Input\KeyboardNavigation.cs (2)
2378double y = -deflateThickness.Top; 2380double height = uiElement.RenderSize.Height + deflateThickness.Top + deflateThickness.Bottom;
System\Windows\Shell\WindowChromeWorker.cs (8)
308templateFixupMargin.Top -= SystemParameters.WindowResizeBorderThickness.Top; 416rcClientArea.Top += (int)windowResizeBorderThicknessDevice.Top; 976deviceGlassThickness.Top -= windowResizeBorderThicknessDevice.Top; 977deviceGlassThickness.Top = Math.Max(0, deviceGlassThickness.Top); 1001cyTopHeight = (int)Math.Ceiling(deviceGlassThickness.Top), 1028if (mousePosition.Y >= windowPosition.Top && mousePosition.Y < windowPosition.Top + _chromeInfo.ResizeBorderThickness.Top + _chromeInfo.CaptionHeight) 1030onResizeBorder = (mousePosition.Y < (windowPosition.Top + _chromeInfo.ResizeBorderThickness.Top)); 1083resizeBorderThickness.Top + captionHeight);
System\Windows\Standard\DpiHelper.cs (1)
74Point topLeft = LogicalPixelsToDevice(new Point(logicalThickness.Left, logicalThickness.Top), dpiScaleX, dpiScaleY);
System\Windows\Standard\Utilities.cs (1)
248if (!IsDoubleFiniteAndNonNegative(thickness.Top))
System\Windows\Thickness.cs (8)
122&& DoubleUtil.IsZero(Top) 132return DoubleUtil.AreClose(Left, Top) 151if(Left < 0d || Right < 0d || Top < 0d || Bottom < 0d) 157if(double.IsNaN(Left) || double.IsNaN(Right) || double.IsNaN(Top) || double.IsNaN(Bottom)) 163if(Double.IsPositiveInfinity(Left) || Double.IsPositiveInfinity(Right) || Double.IsPositiveInfinity(Top) || Double.IsPositiveInfinity(Bottom)) 171if(Double.IsNegativeInfinity(Left) || Double.IsNegativeInfinity(Right) || Double.IsNegativeInfinity(Top) || Double.IsNegativeInfinity(Bottom)) 190&& DoubleUtil.AreClose(Top, thickness.Top)
System\Windows\ThicknessConverter.cs (2)
131return new InstanceDescriptor(ci, new object[] { thickness.Left, thickness.Top, thickness.Right, thickness.Bottom }); 168LengthConverter.FormatLengthAsString(th.Top, ref handler);
System\Windows\Window.cs (2)
6663|| margin.Top + margin.Bottom >= logicalClientRc.Height) 6671LogicalToDeviceUnits(new Point(margin.Left, margin.Top)),
PresentationFramework.Aero (13)
Microsoft\Windows\Themes\ListBoxChrome.cs (9)
209double borderY = border.Top + border.Bottom; 270double borderY = border.Top + border.Bottom; 285childArrangeRect.Y = border.Top; 305double borderY = border.Top + border.Bottom; 313border.Top == 1.0 && border.Bottom == 1.0; 322bounds.Top + border.Top, 337bounds.Top + border.Top + innerBorderThickness, 486StartPoint = new Point(bounds.Left + thickness.Left, bounds.Top + thickness.Top) 490borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
197childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 204return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 233double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 235child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Aero2 (13)
Microsoft\Windows\Themes\ListBoxChrome.cs (9)
209double borderY = border.Top + border.Bottom; 270double borderY = border.Top + border.Bottom; 285childArrangeRect.Y = border.Top; 305double borderY = border.Top + border.Bottom; 313border.Top == 1.0 && border.Bottom == 1.0; 322bounds.Top + border.Top, 337bounds.Top + border.Top + innerBorderThickness, 486StartPoint = new Point(bounds.Left + thickness.Left, bounds.Top + thickness.Top) 490borderFigure.Segments.Add(new LineSegment(new Point(bounds.Right - thickness.Right, bounds.Top + thickness.Top), false));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
197childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 204return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 233double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 235child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.AeroLite (4)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
197childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 204return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 233double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 235child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Classic (28)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (24)
571thickness.Top >= 0 && !double.IsPositiveInfinity(thickness.Top) && 593return new Size(th.Left + th.Right, th.Top + th.Bottom); 600rt.Top + thick.Top, 602Math.Max(0.0, rt.Height - thick.Top - thick.Bottom)); 712double borderHeight = border.Top + border.Bottom; 718childArrangeRect.Y = border.Top; 742return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s); 849yLines = GetPixelSnappingGuidelines(height, singleThickness.Top, singleThickness.Bottom, (int)classicThickness); 951if (borderThickness.Top > 0.0) 953dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, borderThickness.Top)); 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)) 1034if (bounds.Height < singleThickness.Top + singleThickness.Bottom) 1037dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, singleThickness.Top)); 1040bounds.Y += singleThickness.Top; 1041bounds.Height -= singleThickness.Top + singleThickness.Bottom; 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))
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
197childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 204return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 233double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 235child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Luna (12)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
237totalPadding = padding.Top + padding.Bottom; 244bounds.Y += padding.Top;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
184double borderY = isRound ? 2.0 : thickness.Top + thickness.Bottom; 199thickness.Top == 1.0 && thickness.Bottom == 1.0; 209thickness.Top, 211Math.Max(0, bounds.Height - thickness.Top - thickness.Bottom)); 451rt.Top + thick.Top, 453Math.Max(0.0, rt.Height - thick.Top - thick.Bottom));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
197childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 204return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 233double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 235child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Royale (12)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
219totalPadding = padding.Top + padding.Bottom; 226bounds.Y += padding.Top;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
184double borderY = isRound ? 2.0 : thickness.Top + thickness.Bottom; 199thickness.Top == 1.0 && thickness.Bottom == 1.0; 209thickness.Top, 211Math.Max(0, bounds.Height - thickness.Top - thickness.Bottom)); 451rt.Top + thick.Top, 453Math.Max(0.0, rt.Height - thick.Top - thick.Bottom));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
197childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 204return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 233double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 235child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
445ribbonTabHeader.Padding = new Thickness(leftPadding, ribbonTabHeader.DefaultPadding.Top, rightPadding, ribbonTabHeader.DefaultPadding.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
441PartToggleButton.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (2)
294_highlightLeftBorder.BorderThickness = new Thickness(BorderThickness.Left, BorderThickness.Top, 0.0, BorderThickness.Bottom); 299_highlightRightBorder.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
300ToBoundedInt(thickness.Top),