using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FastReport.Web.Toolbar
{
///
/// Element that opens a drop-down list when you hover over it
///
public class ToolbarSelect : ToolbarElement
{
///
/// The image of the button that appears in the toolbar
///
public ToolbarElementImage Image { get; set; } = new ToolbarElementImage();
///
/// Contains items that will be displayed in the drop-down list
///
/// List of ToolbarSelectItems
///
public List Items { get; set; } = new List();
internal override string Render(string template_FR)
{
if (!Enabled) return default;
var sb = new StringBuilder();
sb.Append(
$@"