LinearGauge
概要
機能
サンプル
説明
このサンプルは、LinearGauge コントロールの基本的な使用方法を示します。
ソース
IndexController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MvcExplorer.Controllers
{
public partial class LinearGaugeController : Controller
{
public ActionResult Index()
{
return View();
}
}
}
Index.cshtml
@(Html.C1().LinearGauge()
.Face(fb => fb.Min(0).Max(10))
.Pointer(pb => pb.Max(5))
.Width(500)
)
@section Description{
@Html.Raw(Resources.LinearGauge.Index_Text0)
}
マニュアル