10 references to sideThickness2
PresentationFramework.Royale (10)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
288
bool isWidthTooSmall = (availableSize.Width <
sideThickness2
);
289
bool isHeightTooSmall = (availableSize.Height <
sideThickness2
);
293
childConstraint.Width = availableSize.Width -
sideThickness2
;
297
childConstraint.Height = availableSize.Height -
sideThickness2
;
306
desired.Width +=
sideThickness2
;
310
desired.Height +=
sideThickness2
;
315
desired = new Size(Math.Min(
sideThickness2
, availableSize.Width), Math.Min(
sideThickness2
, availableSize.Height));
333
childArrangeRect.Width = Math.Max(0d, finalSize.Width -
sideThickness2
);
334
childArrangeRect.Height = Math.Max(0d, finalSize.Height -
sideThickness2
);