10 references to sideThickness2
PresentationFramework.Luna (10)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
322bool isWidthTooSmall = (availableSize.Width < sideThickness2); 323bool isHeightTooSmall = (availableSize.Height < sideThickness2); 327childConstraint.Width = availableSize.Width - sideThickness2; 331childConstraint.Height = availableSize.Height - sideThickness2; 340desired.Width += sideThickness2; 344desired.Height += sideThickness2; 349desired = new Size(Math.Min(sideThickness2, availableSize.Width), Math.Min(sideThickness2, availableSize.Height)); 367childArrangeRect.Width = Math.Max(0d, finalSize.Width - sideThickness2); 368childArrangeRect.Height = Math.Max(0d, finalSize.Height - sideThickness2);