/// <summary>
 /// 获得 Body 内行样式
 /// </summary>
 /// <param name="item"></param>
 /// <param name="css"></param>
 /// <returns></returns>
 protected string?GetRowClassString(TItem item, string?css = null) => CssBuilder.Default(css)
 .AddClass(SetRowClassFormatter?.Invoke(item))
 .AddClass("active", CheckActive(item))
 .AddClass("is-master", DetailRowTemplate != null)
 .AddClass("is-click", ClickToSelect)
 .AddClass("is-dblclick", DoubleClickToEdit)
 .Build();
Beispiel #2
0
 /// <summary>
 /// 获得 Body 内行样式
 /// </summary>
 /// <param name="item"></param>
 /// <param name="css"></param>
 /// <returns></returns>
 protected string?GetRowClassString(TItem item, string?css = null) => CssBuilder.Default(css)
 .AddClass(SetRowClassFormatter?.Invoke(item))
 .AddClass("active", CheckActive(item))
 .Build();