private static object RecurseFindValue(DesignerOptionCollection options)
{
if (options._value != null)
{
return options._value;
}
foreach (DesignerOptionCollection child in options)
{
object value = RecurseFindValue(child);
if (value != null)
{
return value;
}
}
return null;
}