示例#1
0
        public void Decorate(IHtmlNode td)
        {
            td.AddClass("k-filterable");

            var link = new HtmlElement("a")
                .AddClass("k-grid-filter")
                .ToggleClass("k-state-active", filtered);

            td.Children.Insert(0, link);

            new HtmlElement("span").AddClass("k-icon", "k-filter").AppendTo(link);
        }
示例#2
0
        public void Decorate(IHtmlNode td)
        {
            td.AddClass("k-filterable");

            var link = new HtmlElement("a")
                       .AddClass("k-grid-filter")
                       .ToggleClass("k-state-active", filtered);


            td.Children.Insert(0, link);

            new HtmlElement("span").AddClass("k-icon", "k-filter").AppendTo(link);
        }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("k-grid-edit-row");
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass(UIPrimitives.SelectedState);
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass(UIPrimitives.Alt);
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("t-master-row");
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("t-alt");
 }
 public void ApplyTo(IHtmlNode target)
 {
     target.AddClass(CssClasses.ToArray());
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("t-alt");
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("t-state-selected");
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("t-grid-edit-row");
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("k-master-row");
 }
 public void ApplyTo(IHtmlNode target)
 {
     target.AddClass("t-master-row");
 }
 protected override void ApplyDecoration(IHtmlNode htmlNode)
 {
     htmlNode.AddClass("t-state-selected");
 }