/// <summary>
 /// Retrieves any set RowDefinition attached to the given ControlBase element
 /// </summary>
 /// <param name="element"></param>
 /// <returns></returns>
 public static RowDefinition GetRowDefinition(ControlBase element)
 {
     return element != null ? (RowDefinition)element.GetValue(RowDefinitionProperty) : null;
 }
 /// <summary>
 /// Retrieves any set ColumnDefinition attached to the given ControlBase element
 /// </summary>
 /// <param name="element"></param>
 /// <returns></returns>
 public static ColumnDefinition GetColumnDefinition(ControlBase element)
 {
     return element != null ? (ColumnDefinition)element.GetValue(ColumnDefinitionProperty) : null;
 }