private static object _CoerceGlassFrameThickness(Thickness thickness)
{
// If it's explicitly set, but set to a thickness with at least one negative side then
// coerce the value to the stock GlassFrameCompleteThickness.
if (!thickness.IsNonNegative())
{
return GlassFrameCompleteThickness;
}
return thickness;
}