10 references to sideThickness2
PresentationFramework.Luna (10)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
319
bool isWidthTooSmall = (availableSize.Width <
sideThickness2
);
320
bool isHeightTooSmall = (availableSize.Height <
sideThickness2
);
324
childConstraint.Width = availableSize.Width -
sideThickness2
;
328
childConstraint.Height = availableSize.Height -
sideThickness2
;
337
desired.Width +=
sideThickness2
;
341
desired.Height +=
sideThickness2
;
346
desired = new Size(Math.Min(
sideThickness2
, availableSize.Width), Math.Min(
sideThickness2
, availableSize.Height));
364
childArrangeRect.Width = Math.Max(0d, finalSize.Width -
sideThickness2
);
365
childArrangeRect.Height = Math.Max(0d, finalSize.Height -
sideThickness2
);