datatemplate Questions

1

Solved

I'm using the following code to dynamically add columns to my GridView: public void AddGridViewColumns() { GridView view = (GridView)_myListView.View; GridViewColumn column = BuildGridViewColumn...
Incondensable asked 16/7, 2009 at 21:21

4

Solved

When I bind Menu Items with an ObservableCollection, only the "inner" area of the MenuItem is clickable: alt text http://tanguay.info/web/external/mvvmMenuItems.png In my View I have this menu: ...
Excite asked 1/7, 2009 at 8:14

2

Solved

I have a DataTemplate I want to reuse. The part I want to factor out is the binding, because it's the only thing that changes. My DataTemplate looks roughly like this. (There's actually quite a bit...
Chufa asked 16/6, 2009 at 20:20

5

Solved

Application: WPF Application consisting of a textbox on top and a listbox below Users type a string in the TextBox to find employees, and search results are displayed in the ListBox ListBox uses ...
Joaquin asked 8/5, 2009 at 20:16

1

Solved

I was looking at MEF as an extensibility framework, and I'm pretty much sold, except for one point: Let's say I want to import both a ViewModel and a View to display it. I think the "right" way to...
Nonet asked 9/5, 2009 at 3:1

3

Solved

I want to databind an ItemsCollection, but instead of rendering the collection items, I want to render sub-objects reached via a property on the collection item. To be more specific: this will be ...
Upcast asked 26/4, 2009 at 14:6

2

Solved

I have a ListBox, that's bound to an ObservableCollection. Each ListBoxItem is displayed with a DataTemplate. I have a button in my DataTemplate, that when clicked, needs a reference to the member...
Flabellate asked 19/4, 2009 at 20:1

1

Solved

I Have a data template that i use in items control, i wanna know if its possible some how to use it(the template) on single item display without the items control? if not whats the best way to do ...
Osber asked 16/4, 2009 at 8:6

2

Solved

What must I do to use a DataTemplate in a WrapPanel or StackPanel? On a ListBox its so easy but i cant find a way to do it on a Panel... Edit: What i want is a ListBox that places the items like ...
Quinones asked 20/3, 2009 at 15:30

1

Solved

In my project I have a WPF Listbox bound to an ObservableCollection. Every time I add a new item to the Collection the same item is added to the Listbox automaticly. To display the items in the Lis...
Subauricular asked 12/3, 2009 at 9:20

2

Solved

I'm using Linq To Sql to fill up a listbox with Segment objects, where Segment is designer created/ORM generated class. <Window x:Class="ICTemplates.Window1" ... xmlns:local="clr-namespace:IC...
Choppy asked 16/12, 2008 at 9:52

1

Solved

It's easy to bind something to the SelectedIndex of the ListBox, but I want every item in the ListBox be able to bind to it's index in the list. Might sound weird, so here's what I'm trying to do:...
Millenary asked 3/11, 2008 at 16:1

2

I've got the following user control: <TabItem x:Name="Self" x:Class="App.MyTabItem" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/...
Felid asked 29/9, 2008 at 13:46

© 2022 - 2024 — McMap. All rights reserved.