Table of Contents
StyleSetIDField Property

Gets or sets the field from which GridItem populates its StyleSetID field.

Syntax
 public String StyleSetIDField { get; set; }
Remarks

EO.Web Grid supports conditional formatting --- that is, using different style settings based on different values from the data source. In order to use this feature, you should first define multiple GridItemStyleSet objects in ItemStyles collection and give each of the GridItemStyleSet a different StyleSetID. At runtime, if an item's StyleSetID matches the StyleID of any GridItemStyleSet, that style set will be used for the item.

When this property is set, value of StyleSetIDField of the data source is stored in each GridItem's StyleSetID property.

See Also