0
votes
1answer
22 views

WPF: Bind to element in DataTemplate in ResourceDictionary

I'd like to bind to a element's property (a ListBox's SelectedItems.Count in my specific case) that's dynamically inserted into my window from a DataTemplate located in a ResourceDictionary. I'd like ...
0
votes
1answer
21 views

XAML binding windows phone template

I have a page showing pics with text below it (like a Tile), In xaml I simply bind to a image and text property, and then in the c# code I set the listbox's itemssource to my specific data. Now ...
0
votes
1answer
61 views

WPF - Cannot bind to a DataTemplate from within a DataTemplate

I cannot bind to a DataTemplate from within another DataTemplate, is this due to the data source not being present at runtime? <Page ...
0
votes
1answer
72 views

Bind to parent control from within context menu within data template

I'm wanting to bind to a parent control from a context menu within a datatemplate. Unfortunately I'm restricted to .net 3.5 and can't use the x:reference extension introduced in .net 4. Below is an ...
0
votes
0answers
114 views

WPF Binding to DependencyProperty of UserControl in DataTemplate is not working

i have a custom userControl with DPs and have the problem that the binding to these properties only works if i use the controls outside of datatemplates. Outside of Datatemplates works the ...
0
votes
1answer
350 views

XAML: Binding a property in a DataTemplate

I'm fairly new to XAML but enjoying learning it. The thing I'm really struggling with is binding a property to an element in a DataTemplate. I have created a simple WPF example to, (hopefully,) ...
0
votes
1answer
244 views

DataTemplate to show Buttons in WPF ListView while maintaing Properties

In WPF, I have a ListView of 2 columns and the first column needs to be a button. Correct me if I'm wrong, but the only way I found to implement a button in a ListView is to use a DataTemplate. The ...
0
votes
1answer
234 views

Windows Phone ListPicker ItemsSource List<int> Binding

I am using a ListPicker to let the user choose from a list of numbers, so I bind the ItemsSource property to my List<int> property in my ViewModel. It works fine and it displays my nubmers, but ...
0
votes
1answer
166 views

Modifying TabControl's header

So I'm adding my views directly to the TabControl's Items collection at runtime (instead of creating TabItems around them and addings those TabItems to TabControl). The views expose a property ...
0
votes
1answer
325 views

Xaml: Binding a Collection within a DataTemplate

I am very new to xaml and databinding, so please don't eat me. I am woring on a Windows 8 Store Project atm and do have some understanding problems of nested data-bindings. I'll try to structure my ...
0
votes
1answer
118 views

WPF DataTemplate for Collection

I must now hang my head, for I have scoured the Google for hours and still have no clue what I'm doing wrong. <DataTemplate DataType="{x:Type local:Controllers}"> <ListBox> ...
0
votes
0answers
103 views

Binding button event to another control using DataTemplate within a Listview

I have a ListView which is binding against several different social sites for videos, photos etc. I have a DateTemplate defined for a video posts where I want to display a play/pause button on top of ...
0
votes
0answers
122 views

How can I binding objects from (ItemsControl => DataTemplate), where ItemsSource is ObservableCollection<Some_Class>

Short description of my problem... Can not check all checkboxes programmatically using button. I hope that some of you have mercy on me and help me :) I have a few checkboxes hooked together by ...
4
votes
1answer
79 views

Binding DataTemplate Control Property

I have a UserControl like the following: <UserControl> <Expander> <Expander.HeaderTemplate> <DataTemplate> <Grid ...
0
votes
1answer
13 views

Silverlight / WPF DataTemlate with different data bindings

Normally it would be: <DataTemplate> <TextBox Text ="{Binding SomeProperty}" /> </DataTemplate> This means for each item of a list one TextBox is bound to a respective property ...

1 2 3 4 5 10
15 30 50 per page