Tuple <int, int, int> GetLayoutData() { return(new Tuple <int, int, int>( Int32.Parse(elements.GetLayoutNumberOfRowsTextBlock().DocumentText), Int32.Parse(elements.GetLayoutNumberOfColumnsTextBlock().DocumentText), Int32.Parse(elements.GetLayoutNumberOfLargerColumnsTextBlock().DocumentText) )); }