18 writes to Top
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
QuickInfo\OnTheFlyDocsView.xaml.cs (1)
92new SmoothProgressBar { IsIndeterminate = true, Height = 2, Margin = new Thickness { Top = 2 } },
PresentationFramework (9)
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
234pageMargin.Top = lineHeight;
MS\Internal\Helper.cs (1)
1189itemsCorrectionFactor.Top = itemsRect.Top;
MS\Internal\PtsHost\ParagraphVisual.cs (1)
74_borderThickness.Top = 0.0;
MS\Internal\Text\TextDpi.cs (1)
179pageMargin.Top = pageSize.Height - _minSize;
System\Windows\Controls\VirtualizingStackPanel.cs (1)
6438inset.Top = headerDesiredSizes.PixelSize.Height + margin.Top;
System\Windows\Documents\FlowDocument.cs (1)
1014pageMargin.Top = lineHeight;
System\Windows\Shell\WindowChromeWorker.cs (3)
314templateFixupMargin.Top -= SystemParameters.WindowResizeBorderThickness.Top; 982deviceGlassThickness.Top -= windowResizeBorderThicknessDevice.Top; 983deviceGlassThickness.Top = Math.Max(0, deviceGlassThickness.Top);
PresentationFramework.Aero (2)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
282border.Top += 1.0;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
273padding.Top += 1.0;
PresentationFramework.Aero2 (2)
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
282border.Top += 1.0;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
273padding.Top += 1.0;
PresentationFramework.AeroLite (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
273padding.Top += 1.0;
PresentationFramework.Classic (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
273padding.Top += 1.0;
PresentationFramework.Luna (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
273padding.Top += 1.0;
PresentationFramework.Royale (1)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
273padding.Top += 1.0;
225 references to Top
PresentationFramework (138)
MS\Internal\AnimatedTypeHelpers.cs (11)
42InterpolateDouble(from.Top, to.Top, progress), 60AddDouble(value1.Top, value2.Top), 73value1.Top - value2.Top, 91+ Math.Pow(GetSegmentLengthDouble(from.Top, to.Top), 2.0) 111ScaleDouble(value.Top, factor), 134|| IsValidAnimationValueDouble(value.Top) 157GetZeroValueDouble(baseValue.Top),
MS\Internal\Documents\FlowDocumentFormatter.cs (1)
232if (double.IsNaN(pageMargin.Top))
MS\Internal\Helper.cs (3)
1081headerSize.Height = Math.Max(itemsCorrectionFactor.Top, headerSize.Height); 1211if (!(DoubleUtil.AreClose(itemsCorrectionFactor.Top, oldItemsCorrectionFactor.Top) &&
MS\Internal\Ink\InkCanvasSelection.cs (2)
480InkCanvas.SetTop(updatedElement, newPosition.Y - thickness.Top); // Top wasn't auto 488InkCanvas.SetTop(updatedElement, newPosition.Y - thickness.Top); // Both Top and Bottom were aut. Modify Left by default.
MS\Internal\PtsHost\FigureHelper.cs (2)
146value = (structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom) * figureLength.Value; 189value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom));
MS\Internal\PtsHost\FigureParagraph.cs (1)
641maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom;
MS\Internal\PtsHost\FlowDocumentPage.cs (5)
164pageSize.Height += pageMargin.Top + pageMargin.Bottom; 166SetContentBox(new Rect(pageMargin.Left, pageMargin.Top, _ptsPage.CalculatedSize.Width, _ptsPage.CalculatedSize.Height)); 204SetContentBox(new Rect(pageMargin.Left, pageMargin.Top, 206pageSize.Height - (pageMargin.Top + pageMargin.Bottom))); 699size.Height += _pageMargin.Top + _pageMargin.Bottom;
MS\Internal\PtsHost\MarginCollapsingState.cs (1)
60else if (mcsCurrent == null && DoubleUtil.IsZero(mbp.Margin.Top))
MS\Internal\PtsHost\MbpInfo.cs (15)
141Double.IsNaN(mbp.Margin.Top) ? defaultMargin.Top : mbp.Margin.Top, 166Double.IsNaN(mbp.Padding.Top) ? defaultPadding.Top : mbp.Padding.Top, 192get { return TextDpi.ToTextDpi(_margin.Top) + TextDpi.ToTextDpi(_border.Top) + TextDpi.ToTextDpi(_padding.Top); } 224get { return TextDpi.ToTextDpi(_border.Top) + TextDpi.ToTextDpi(_padding.Top); } 256get { return TextDpi.ToTextDpi(_border.Top); } 288get { return TextDpi.ToTextDpi(_margin.Top); } 341Double.IsNaN(_padding.Top) || 356Double.IsNaN(_margin.Top) ||
MS\Internal\PtsHost\ParagraphVisual.cs (3)
120if (DoubleUtil.GreaterThanZero(_borderThickness.Top)) 124pen.Thickness = _borderThickness.Top; 151new Point(_renderBounds.Left + _borderThickness.Left, _renderBounds.Top + _borderThickness.Top),
MS\Internal\PtsHost\Section.cs (2)
119fsrcMargin.v = TextDpi.ToTextDpi(pageMargin.Top); 121fsrcMargin.dv = dvrPage - TextDpi.ToTextDpi(pageMargin.Top + pageMargin.Bottom);
MS\Internal\PtsHost\StructuralCache.cs (2)
770internal PTS.FSRECT PageMarginRect { get { return new PTS.FSRECT(new Rect(PageMargin.Left, PageMargin.Top, 772PageSize.Height - PageMargin.Top - PageMargin.Bottom)); } }
MS\Internal\PtsHost\SubpageParaClient.cs (2)
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);
MS\Internal\PtsHost\UIElementParagraph.cs (1)
427elementHeight = 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)
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), 500if (DoubleUtil.GreaterThanZero(border.Top)) 509pen.Thickness = UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY); 513pen.Thickness = border.Top; 573UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY)); 588ptTL = new Point(border.Left, border.Top); 623return new Size(th.Left + th.Right, th.Top + th.Bottom); 638rt.Top + thick.Top, 640Math.Max(0.0, rt.Height - thick.Top - thick.Bottom)); 938double top = 0.5 * borders.Top;
System\Windows\Controls\Control.cs (1)
387&& t.Top >= 0.0d
System\Windows\Controls\DataGridColumnFloatingHeader.cs (1)
183delta += margin.Top;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
593Math.Max(ia.OriginHeight, pagePadding.Top),
System\Windows\Controls\Primitives\TabPanel.cs (2)
212desiredSizeWithoutMargin.Height = Math.Max(0d, element.DesiredSize.Height - margin.Top - margin.Bottom); 267double topOffset = margin.Top;
System\Windows\Controls\SinglePageViewer.cs (1)
705Math.Max(ia.OriginHeight, pagePadding.Top),
System\Windows\Controls\TextBlock.cs (5)
1276Math.Max(0.0, constraint.Height - (padding.Top + padding.Bottom))); 1348desiredSize.Height += (padding.Top + padding.Bottom); 1979Math.Max(0.0, _referenceSize.Height - (padding.Top + padding.Bottom))); 3117Math.Max(0.0, computedSize.Height - (padding.Top + padding.Bottom))); 3133contentOffset.Y += padding.Top;
System\Windows\Controls\TextRangeAdaptor.cs (1)
343return margin.IsValid(true, false, false, false) ? NativeObjectLengthToPoints(margin.Top) : 0;
System\Windows\Controls\ToolBar.cs (1)
562extraLength = Math.Max(0.0, desiredSize.Height - toolBarPanel.DesiredSize.Height + margin.Top + margin.Bottom);
System\Windows\Controls\VirtualizingStackPanel.cs (18)
3011_pixelDistanceToViewport += (isHorizontal ? inset.Left : inset.Top); 5303viewport.Y -= IsPixelBased ? inset.Top : isHeaderBeforeItems ? 1 : 0; 5471if (DoubleUtil.GreaterThanOrClose(viewport.Height, inset.Top)) 5476viewport.Height = Math.Max(0, viewport.Height - inset.Top); 5487cacheAfterSize = Math.Max(0, cacheAfterSize - (inset.Top - viewport.Height)); 5504cacheAfterSize = Math.Max(0, cacheAfterSize - inset.Top); 6438inset.Top = headerDesiredSizes.PixelSize.Height + margin.Top; 6471childRect.Offset(-margin.Left, -margin.Top); 6501DoubleUtil.AreClose(oldInset.Top, inset.Top ) && 6513|| (!isHorizontal && !(AreInsetsClose(oldInset.Top, inset.Top) && 6618return DoubleUtil.GreaterThanOrClose(inset.Top - margin.Top, inset.Bottom - margin.Bottom); 7119: new Size(childDesiredSize.Width, Math.Max(inset.Top, 0)); 7653inset.Top + itemDesiredSizes.PixelSize.Height + inset.Bottom); 11080offset += (isHorizontal ? inset.Left : inset.Top); 12972writer.Write(thickness.Top);
System\Windows\Documents\Block.cs (4)
536if (Double.IsNaN(t.Left) || Double.IsNaN(t.Right) || Double.IsNaN(t.Top) || Double.IsNaN(t.Bottom)) 549if (!Double.IsNaN(t.Top) && (t.Top < 0 || t.Top > maxThickness))
System\Windows\Documents\FlowDocument.cs (1)
1012if (double.IsNaN(pageMargin.Top))
System\Windows\Documents\Paragraph.cs (1)
236return (Double.IsNaN(margin.Left) && Double.IsNaN(margin.Right) && Double.IsNaN(margin.Top) && Double.IsNaN(margin.Bottom));
System\Windows\Documents\TextRange.cs (1)
1668((Thickness)value).Right, ((Thickness)value).Top, ((Thickness)value).Left, ((Thickness)value).Bottom);
System\Windows\Documents\TextRangeEdit.cs (5)
1062double topMargin = newThickness.Top < 0 1063? currentThickness.Top 1064: GetNewDoubleValue(null, currentThickness.Top, newThickness.Top, propertyValueAction); 1237/*top:*/((Thickness)value).Top,
System\Windows\Documents\TextRangeEditTables.cs (1)
1290double borderBottom = rowIndex + cell.RowSpan < rowCount ? 0.0 : border.Top;
System\Windows\FrameworkElement.cs (4)
4330double marginHeight = margin.Top + margin.Bottom; 4580double marginHeight = margin.Top + margin.Bottom; 4787offset.Y += finalRect.Y + margin.Top; 4937double marginHeight = margin.Top + margin.Bottom;
System\Windows\Input\KeyboardNavigation.cs (2)
2390double y = -deflateThickness.Top; 2392double height = uiElement.RenderSize.Height + deflateThickness.Top + deflateThickness.Bottom;
System\Windows\Shell\WindowChromeWorker.cs (8)
314templateFixupMargin.Top -= SystemParameters.WindowResizeBorderThickness.Top; 422rcClientArea.Top += (int)windowResizeBorderThicknessDevice.Top; 982deviceGlassThickness.Top -= windowResizeBorderThicknessDevice.Top; 983deviceGlassThickness.Top = Math.Max(0, deviceGlassThickness.Top); 1007cyTopHeight = (int)Math.Ceiling(deviceGlassThickness.Top), 1034if (mousePosition.Y >= windowPosition.Top && mousePosition.Y < windowPosition.Top + _chromeInfo.ResizeBorderThickness.Top + _chromeInfo.CaptionHeight) 1036onResizeBorder = (mousePosition.Y < (windowPosition.Top + _chromeInfo.ResizeBorderThickness.Top)); 1089resizeBorderThickness.Top + captionHeight);
System\Windows\Standard\DpiHelper.cs (1)
77Point topLeft = LogicalPixelsToDevice(new Point(logicalThickness.Left, logicalThickness.Top), dpiScaleX, dpiScaleY);
System\Windows\Standard\Utilities.cs (1)
258if (!IsDoubleFiniteAndNonNegative(thickness.Top))
System\Windows\Thickness.cs (8)
124&& DoubleUtil.IsZero(Top) 134return DoubleUtil.AreClose(Left, Top) 153if(Left < 0d || Right < 0d || Top < 0d || Bottom < 0d) 159if(double.IsNaN(Left) || double.IsNaN(Right) || double.IsNaN(Top) || double.IsNaN(Bottom)) 165if(Double.IsPositiveInfinity(Left) || Double.IsPositiveInfinity(Right) || Double.IsPositiveInfinity(Top) || Double.IsPositiveInfinity(Bottom)) 173if(Double.IsNegativeInfinity(Left) || Double.IsNegativeInfinity(Right) || Double.IsNegativeInfinity(Top) || Double.IsNegativeInfinity(Bottom)) 192&& DoubleUtil.AreClose(Top, thickness.Top)
System\Windows\ThicknessConverter.cs (2)
139return new InstanceDescriptor(ci, new object[] { thickness.Left, thickness.Top, thickness.Right, thickness.Bottom }); 176LengthConverter.FormatLengthAsString(th.Top, ref handler);
System\Windows\Window.cs (2)
6695|| margin.Top + margin.Bottom >= logicalClientRc.Height) 6703LogicalToDeviceUnits(new Point(margin.Left, margin.Top)),
PresentationFramework.Aero (13)
Microsoft\Windows\Themes\ListBoxChrome.cs (9)
214double borderY = border.Top + border.Bottom; 275double borderY = border.Top + border.Bottom; 290childArrangeRect.Y = border.Top; 313double borderY = border.Top + border.Bottom; 321border.Top == 1.0 && border.Bottom == 1.0; 330bounds.Top + border.Top, 345bounds.Top + border.Top + innerBorderThickness, 493borderFigure.StartPoint = new Point(bounds.Left + thickness.Left, bounds.Top + thickness.Top); 496borderFigure.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)
198childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 205return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 234double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 236child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Aero2 (13)
Microsoft\Windows\Themes\ListBoxChrome.cs (9)
214double borderY = border.Top + border.Bottom; 275double borderY = border.Top + border.Bottom; 290childArrangeRect.Y = border.Top; 313double borderY = border.Top + border.Bottom; 321border.Top == 1.0 && border.Bottom == 1.0; 330bounds.Top + border.Top, 345bounds.Top + border.Top + innerBorderThickness, 493borderFigure.StartPoint = new Point(bounds.Left + thickness.Left, bounds.Top + thickness.Top); 496borderFigure.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)
198childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 205return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 234double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 236child.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)
198childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 205return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 234double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 236child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Classic (28)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (24)
573thickness.Top >= 0 && !double.IsPositiveInfinity(thickness.Top) && 595return new Size(th.Left + th.Right, th.Top + th.Bottom); 602rt.Top + thick.Top, 604Math.Max(0.0, rt.Height - thick.Top - thick.Bottom)); 714double borderHeight = border.Top + border.Bottom; 720childArrangeRect.Y = border.Top; 744return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s); 851yLines = 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; 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))
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
198childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 205return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 234double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 236child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Luna (12)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
242totalPadding = padding.Top + padding.Bottom; 249bounds.Y += padding.Top;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
191double borderY = isRound ? 2.0 : thickness.Top + thickness.Bottom; 206thickness.Top == 1.0 && thickness.Bottom == 1.0; 216thickness.Top, 218Math.Max(0, bounds.Height - thickness.Top - thickness.Bottom)); 458rt.Top + thick.Top, 460Math.Max(0.0, rt.Height - thick.Top - thick.Bottom));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
198childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 205return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 234double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 236child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
PresentationFramework.Royale (12)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
224totalPadding = padding.Top + padding.Bottom; 231bounds.Y += padding.Top;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
191double borderY = isRound ? 2.0 : thickness.Top + thickness.Bottom; 206thickness.Top == 1.0 && thickness.Bottom == 1.0; 216thickness.Top, 218Math.Max(0, bounds.Height - thickness.Top - thickness.Bottom)); 458rt.Top + thick.Top, 460Math.Max(0.0, rt.Height - thick.Top - thick.Bottom));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
198childHeight = Math.Max(0.0, childHeight - padding.Top - padding.Bottom); 205return new Size(desiredSize.Width + padding.Left + padding.Right, desiredSize.Height + padding.Top + padding.Bottom); 234double childHeight = Math.Max(0.0, arrangeSize.Height - padding.Top - padding.Bottom); 236child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
449ribbonTabHeader.Padding = new Thickness(leftPadding, ribbonTabHeader.DefaultPadding.Top, rightPadding, ribbonTabHeader.DefaultPadding.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
453PartToggleButton.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (2)
299_highlightLeftBorder.BorderThickness = new Thickness(BorderThickness.Left, BorderThickness.Top, 0.0, BorderThickness.Bottom); 304_highlightRightBorder.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
303ToBoundedInt(thickness.Top),