private void setOptionsFromFields() { myOptions.setToastMovementSpeed(toasterNotificationPopupSpeed.Text); myOptions.setToastTimeToLive(toasterNotificationDuration.Text); myOptions.setToastAlphaLevel(toasterAlphaLevel.Text); myOptions.ToastBackgroundColor = selectedBackgroundColor; myOptions.ToastForegroundColor = selectedForegroundColor; }