Пример #1
0
 public override void initializeWidget()
 {
     base.initializeWidget();
     imageWidget = new cave.ui.ImageWidget(context);
     imageWidget.setWidgetImageScaleMethod(widgetImageScale);
     imageWidget.setWidgetImageWidth(widgetButtonWidth);
     imageWidget.setWidgetImageHeight(widgetButtonHeight);
     addWidget((Windows.UI.Xaml.UIElement)imageWidget);
     updateImageWidget();
 }
 public virtual void configureImageWidgetProperties(cave.ui.ImageWidget imageWidget)
 {
     imageWidget.setWidgetImageWidth(widgetImageWidth);
     imageWidget.setWidgetImageHeight(widgetImageHeight);
     imageWidget.setWidgetImageScaleMethod(widgetImageScaleMethod);
 }