title: Telerik: RadGridView Rowcount
body: <p>I have a Grid that I am trying to set up using Telerik.  What I am trying to do is add a footer to the grid that counts the number of rows that are displayed.</p>
  
  <p>My XAML code snippet looks like this:</p>
  
  <pre><code> &lt;telerik:RadGridView Grid.Row="1"
          ItemsSource="{Binding Path=RouteGroups}"
          SelectionMode="Multiple"
          ShowGroupPanel="False"
          ShowColumnFooters="true"
          atchbhv:RadGridViewMultipleSelection.SelectedItemsSource="{Binding SelectedRouteGroups}"
          IsEnabled="{Binding SelectAllRouteGroups, Converter={StaticResourceInverseBooleanConv}}"&gt;
          &lt;telerik:RadGridView.Columns&gt;
                 &lt;telerik:GridViewDataColumn Header="RouteGroup"
                           DataMemberBinding="{Binding Path=Item1.RouteGroup.RouteGroupDesc}"/&gt;
          &lt;/telerik:RadGridView.Columns&gt;
   &lt;/telerik:RadGridView&gt;
  </code></pre>
  
  <p>What I want to do is count the "RouteGroup" and I am guessing I will need the C# RowsCount function?</p>
  
  <pre><code>public int RowsCount { get; }
  </code></pre>
  
  <p>Am I going about this the correct way?  I am a little bit lost as to how I am going to send the rowCount back to the xaml file to populate the footer.</p>
  
  <p>Any help is appreciated; Thanks.</p>