Question: I have an ObservableCollection and a Datagrid.

What I do is:

```
datagrid.ItemsSource = observableCollection1;

```

And I need to make a binding to the observableCollection.Count attribute.

I tryed:

```
  Tag="{Binding ObservableCollection.Count}"
  Tag = "{Binding Count}"
  Tag = "{Binding .Count}"
  Tag = "{Binding Path=.Count}"

```

But it dosen't work. :(

Help

Answer: 
```
Tag="{Binding ItemsSource.Count, RelativeSource={RelativeSource Self}}"

```
What I do is take the selected item from the datagrid attribute SelectedItem and with that I don't have to put tags to buttons ;)