public object Convert(object rpValue, Type rpTargetType, object rpParameter, CultureInfo rpCulture)
 {
     if (rpValue is double)
     {
         return((double)rpValue == .0 ? EnumUtil.GetBoxed(Visibility.Collapsed) : EnumUtil.GetBoxed(Visibility.Visible));
     }
     else
     {
         return(ConvertClass.ToInt32(rpValue) == 0 ? EnumUtil.GetBoxed(Visibility.Collapsed) : EnumUtil.GetBoxed(Visibility.Visible));
     }
 }