10 references to sideThickness2
PresentationFramework.Royale (10)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
277bool isWidthTooSmall = (availableSize.Width < sideThickness2); 278bool isHeightTooSmall = (availableSize.Height < sideThickness2); 282childConstraint.Width = availableSize.Width - sideThickness2; 286childConstraint.Height = availableSize.Height - sideThickness2; 295desired.Width += sideThickness2; 299desired.Height += sideThickness2; 304desired = new Size(Math.Min(sideThickness2, availableSize.Width), Math.Min(sideThickness2, availableSize.Height)); 322childArrangeRect.Width = Math.Max(0d, finalSize.Width - sideThickness2); 323childArrangeRect.Height = Math.Max(0d, finalSize.Height - sideThickness2);