public static int GetColumnSpan(IDependencyObject element) { return (int) element.GetValue (ColumnSpanProperty); }