API Reference
TargetsBuilder
Builds target columns and styles.
Inheritance
- Object
- TargetsBuilder
Constructors
public TargetsBuilder(List<String> headers) #Create a target builder for the given headers.
Parameters
- headers System.Collections.Generic.List{System.String}
Methods
public TargetsBuilder Border(DtBorderSpec spec) #TargetsBuilderSet border via CSS shorthand (e.g., "1px solid #000").
Parameters
- css System.String
Border(HtmlForgeX.DtBorderSpec spec) #Set border via typed spec.
Parameters
- spec HtmlForgeX.DtBorderSpec
public TargetsBuilder Border(DtBorderWidth width, DtBorderStyle style, RGBColor color) #TargetsBuilderEditorBrowsable(2) Obsolete("Use Border(DtBorderWidth, LineStyle, RGBColor) instead.")Set border via typed components.
Parameters
- width HtmlForgeX.DtBorderWidth
- style HtmlForgeX.LineStyle
- color HtmlForgeX.RGBColor
Border(HtmlForgeX.DtBorderWidth width, HtmlForgeX.DtBorderStyle style, HtmlForgeX.RGBColor color) #Set border via typed components (legacy overload).
Parameters
- width HtmlForgeX.DtBorderWidth
- style HtmlForgeX.DtBorderStyle
- color HtmlForgeX.RGBColor
public TargetsBuilder BorderDashed(RGBColor color, DtBorderWidth width = Thin) #TargetsBuilderDashed border with typed color and width.
Parameters
- color HtmlForgeX.RGBColor
- width HtmlForgeX.DtBorderWidth = Thin
public TargetsBuilder BorderDotted(RGBColor color, DtBorderWidth width = Thin) #TargetsBuilderDotted border with typed color and width.
Parameters
- color HtmlForgeX.RGBColor
- width HtmlForgeX.DtBorderWidth = Thin
public TargetsBuilder BorderSolid(RGBColor color, DtBorderWidth width = Thin) #TargetsBuilderSolid border with typed color and width.
Parameters
- color HtmlForgeX.RGBColor
- width HtmlForgeX.DtBorderWidth = Thin
public TargetsBuilder Columns(IEnumerable<Int32> indices) #TargetsBuilderTarget multiple columns by header name.
Parameters
- names System.String[]
Columns(System.Collections.Generic.IEnumerable{System.String} names) #Target multiple columns by header name (IEnumerable).
Parameters
- names System.Collections.Generic.IEnumerable{System.String}
public TargetsBuilder Columns(params Int32[] indices) #TargetsBuilderTarget multiple columns by index.
Parameters
- indices System.Int32[]
Columns(System.Collections.Generic.IEnumerable{System.Int32} indices) #Target multiple columns by index (IEnumerable).
Parameters
- indices System.Collections.Generic.IEnumerable{System.Int32}
public TargetsBuilder ColumnsRange(Int32 startInclusive, Int32 endInclusive) #TargetsBuilderTarget a contiguous range of column indexes.
Parameters
- startInclusive System.Int32
- endInclusive System.Int32
public TargetsBuilder Css(Dictionary<String, String> css) #TargetsBuilderAdd custom CSS properties to the cell.
Parameters
- css System.Collections.Generic.Dictionary{System.String,System.String}
public TargetsBuilder HighlightParent(Boolean value = true) #TargetsBuilderAlso highlight the parent wrapper in responsive child rows.
Parameters
- value System.Boolean = true
public TargetsBuilder Opacity(Double value) #TargetsBuilderSet cell opacity (0..1) via CSS.
Parameters
- value System.Double
public TargetsBuilder Row() #TargetsBuilderTargets all visible columns (row-level highlighting).
public TargetsBuilder RowText(RGBColor color) #TargetsBuilderQuickly apply text color to all columns.
Parameters
- color System.String