public NumberSliderData(IPopupControlCallback popupCallback, ConfigurationPlaceholder control) { this.popupCallback = popupCallback; this.control = control; this.value = double.Parse(this.popupCallback.GetValue(control).ToString(), (IFormatProvider)CultureInfo.InvariantCulture); this.pendingValue = this.value; }
public FileBrowserData(IPopupControlCallback popupCallback, ConfigurationPlaceholder control) { this.popupCallback = popupCallback; this.control = control; object obj = this.popupCallback.GetValue(control); this.DirectoryDisplayText = obj != null?obj.ToString() : (string)null; }
protected DataConfigurationPopup(IPopupControlCallback popupCallback, ConfigurationPlaceholder rootConfig) { this.rootConfig = rootConfig; FrameworkElement element = FileTable.GetElement("Resources\\DataPane\\ConfigureSampleDataPopup.xaml"); this.Child = (UIElement)element; element.DataContext = (object)this; this.Focusable = true; this.PopupCallback = popupCallback; this.ConfigurationOptions = new ObservableCollection <IConfigurationOptionData>(); this.GenerateContent(); }
public ComboBoxData(IPopupControlCallback popupCallback, ConfigurationPlaceholder control, DataConfigurationPopup popup) { this.PopupCallback = popupCallback; this.Control = control; this.Popup = popup; }