示例#1
0
        public static cave.ui.CheckBoxWidget forText(cave.GuiApplicationContext context, string text)
        {
            var v = new cave.ui.CheckBoxWidget(context);

            v.setWidgetText(text);
            return(v);
        }
示例#2
0
 public virtual Windows.UI.Xaml.UIElement setStyleForCheckBoxWidget(cave.ui.CheckBoxWidget widget, bool allowReplace)
 {
     if (!allowReplace)
     {
         return((Windows.UI.Xaml.UIElement)widget);
     }
     return((Windows.UI.Xaml.UIElement)cave.ui.LayerWidget.forWidget(context, (Windows.UI.Xaml.UIElement)widget, context.getHeightValue("1500um")));
 }