public static int GetColumn(IDependencyObject element) { return (int) element.GetValue (ColumnProperty); }