ComponentFactory.Quicksilver.Layout.BaseDefinition.IsSizePropertyValueValid C# (CSharp) Method

IsSizePropertyValueValid() protected static method

Validate if the value is appropriate for a Width property.
protected static IsSizePropertyValueValid ( object value ) : bool
value object Value to validate.
return bool
        protected static bool IsSizePropertyValueValid(object value)
        {
            GridLength length = (GridLength)value;
            return (length.Value >= 0.0);
        }