예제 #1
0
        public GridStyleInfo GetObject(string fieldName)
        {
            GridStyleInfo value = GetStyleByFieldName(fieldName);

            if (value == null)
            {
                FieldStyle obj = new FieldStyle();
                obj.FieldName = fieldName;
                value         = obj.Style;
                Add(obj);
            }

            return(value);
        }
예제 #2
0
 public void Remove(FieldStyle fieValue)
 {
     List.Remove(fieValue);
 }
예제 #3
0
 public void Insert(int intIndex, FieldStyle fieValue)
 {
     List.Insert(intIndex, fieValue);
 }
예제 #4
0
 public int IndexOf(FieldStyle fieValue)
 {
     return(List.IndexOf(fieValue));
 }
예제 #5
0
 public bool Contains(FieldStyle fieValue)
 {
     return(List.Contains(fieValue));
 }
예제 #6
0
 public int Add(FieldStyle fieValue)
 {
     return(List.Add(fieValue));
 }