private string GetShowMode(WidgetShowModes showIn)
        {
            if (showIn == WidgetShowModes.ParentPage)
            {
                return("parent");
            }

            if (showIn == WidgetShowModes.DescendantPages)
            {
                return("descendant");
            }

            return("all");
        }
예제 #2
0
        private string GetShowMode(WidgetShowModes showIn)
        {
            if (showIn == WidgetShowModes.ParentPage)
                return "parent";

            if (showIn == WidgetShowModes.DescendantPages)
                return "descendant";

            return "all";
        }