protected static bool IsSizePropertyValueValid(object value) { GridLength length = (GridLength)value; return (length.Value >= 0.0); }