/// <summary>
        /// Clones this instance.
        /// </summary>
        /// <returns></returns>
        public dataTableStyleEntry Clone()
        {
            dataTableStyleEntry output = new dataTableStyleEntry();

            output.Background    = Background.Clone();
            output.BackgroundAlt = BackgroundAlt.Clone();
            output.Cell          = Cell.Clone();
            output.Text          = Text.Clone();
            return(output);
        }
Exemple #2
0
 public void DeployDefaults(IEnumerable <T> ks = null)
 {
     if (ks == null)
     {
         ks = Keys.ToList();
     }
     foreach (T k in ks)
     {
         this[k] = new dataTableStyleEntry();
         this[k].DeployStyle(k);
     }
 }
 public tableStyleSetterResponse(dataTableStyleEntry _style, tableStyleDynamicRule _rule)
 {
     style = _style;
     rule  = _rule;
 }