public static cave.ui.CheckBoxWidget forText(cave.GuiApplicationContext context, string text) { var v = new cave.ui.CheckBoxWidget(context); v.setWidgetText(text); return(v); }
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"))); }