Пример #1
0
 internal static Element GetElement(Accessible accessible, DataItemElement parent, int column)
 {
     if (accessible == null)
     {
         return(null);
     }
     if (elements.ContainsKey(accessible))
     {
         return(elements [accessible]);
     }
     elements [accessible] = new TableCellElement(accessible, parent, column);
     return(elements [accessible]);
 }
Пример #2
0
		internal static Element GetElement (Accessible accessible, DataItemElement parent, int column)
		{
			if (accessible == null)
				return null;
			if (elements.ContainsKey (accessible))
				return elements [accessible];
			elements [accessible] = new TableCellElement (accessible, parent, column);
			return elements [accessible];
		}