private Type GetTypeForFooType(MyFooEnum fooType)
        {
            Type retVal = null;

            if (fooType == MyFooEnum.ButtonWidget)
            {
                retVal = typeof(MyWidgetHolderView);
            }
            else if (fooType == MyFooEnum.TextWidget)
                retVal = typeof(TextBlock);

            return retVal;
        }
        private Type GetTypeForFooType(MyFooEnum fooType)
        {
            Type retVal = null;

            if (fooType == MyFooEnum.ButtonWidget)
            {
                retVal = typeof(MyWidgetHolderView);
            }
            else if (fooType == MyFooEnum.TextWidget)
            {
                retVal = typeof(TextBlock);
            }

            return(retVal);
        }