Click here to Skip to main content
15,887,683 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Multiple SilverLight apps Pin
Ray Cassick11-Feb-11 11:07
Ray Cassick11-Feb-11 11:07 
AnswerRe: Multiple SilverLight apps Pin
RichardGrimmer11-Feb-11 4:52
RichardGrimmer11-Feb-11 4:52 
GeneralRe: Multiple SilverLight apps Pin
Ray Cassick11-Feb-11 11:05
Ray Cassick11-Feb-11 11:05 
QuestionC# Client Server Application on WPF IDE Pin
LAPEC4-Feb-11 1:48
LAPEC4-Feb-11 1:48 
AnswerRe: C# Client Server Application on WPF IDE Pin
RobCroll4-Feb-11 1:54
RobCroll4-Feb-11 1:54 
AnswerRe: C# Client Server Application on WPF IDE Pin
Pete O'Hanlon4-Feb-11 1:57
mvePete O'Hanlon4-Feb-11 1:57 
AnswerRe: C# Client Server Application on WPF IDE Pin
Abhinav S4-Feb-11 5:12
Abhinav S4-Feb-11 5:12 
QuestionSilverlight Hierarchical template for Multiple Types in Treeview Pin
www.Developerof.NET3-Feb-11 23:47
www.Developerof.NET3-Feb-11 23:47 
public class TreeItem
{
public string HeaderTag { get; set; }
public List<TreeStatusItem> StatusItems { get; set; }
public List<TreeItem> items { get; set; }
public TreeItem()
{
StatusItems = new List<TreeStatusItem>();
}
}


public class TreeStatusItem
{
#region Properties
[DataMember]
public string StatusText { get; set; }
[DataMember]
public string StatusValue { get; set; }
}

Here a TreeItem has a HaderTag which displays as the Header for the treeview, the StatusItems contains items of a different type and the items have a List of the container class itself.

The sample data would be

-RegionName(object of TreeItem type)
--Oustanding(object of TreeStatusItem type)
--Live (object of TreeStatusItem type)
--Areas(object of TreeItem type)
----Oustanding(object of TreeStatusItem type)
----Live (object of TreeStatusItem type)
----SubAreas(object of TreeItem type)
......
...



I need to bind the data which is List<TreeItem> to a silverlight treeview. I can`t figure out how the hierarchical template should be !!!!
When you fail to plan, you are planning to fail.

AnswerRe: Silverlight Hierarchical template for Multiple Types in Treeview Pin
Mycroft Holmes7-Feb-11 19:44
professionalMycroft Holmes7-Feb-11 19:44 
Questionbind combobbox [modified] Pin
arkiboys3-Feb-11 23:40
arkiboys3-Feb-11 23:40 
AnswerRe: bind combobbox Pin
Pete O'Hanlon3-Feb-11 23:44
mvePete O'Hanlon3-Feb-11 23:44 
Questionpopulate combobox with names and ids Pin
arkiboys3-Feb-11 12:05
arkiboys3-Feb-11 12:05 
AnswerRe: populate combobox with names and ids Pin
_Maxxx_3-Feb-11 14:47
professional_Maxxx_3-Feb-11 14:47 
GeneralRe: populate combobox with names and ids Pin
arkiboys3-Feb-11 22:44
arkiboys3-Feb-11 22:44 
GeneralRe: populate combobox with names and ids Pin
_Maxxx_6-Feb-11 16:27
professional_Maxxx_6-Feb-11 16:27 
QuestionAn MVVM way to know when a database update is complete in order to navigate to another page. Pin
ToddHileHoffer3-Feb-11 10:09
ToddHileHoffer3-Feb-11 10:09 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Pete O'Hanlon3-Feb-11 11:45
mvePete O'Hanlon3-Feb-11 11:45 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
_Maxxx_3-Feb-11 14:32
professional_Maxxx_3-Feb-11 14:32 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Abhinav S3-Feb-11 21:33
Abhinav S3-Feb-11 21:33 
GeneralRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
ToddHileHoffer4-Feb-11 2:33
ToddHileHoffer4-Feb-11 2:33 
GeneralRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Abhinav S7-Feb-11 19:14
Abhinav S7-Feb-11 19:14 
AnswerRe: An MVVM way to know when a database update is complete in order to navigate to another page. Pin
Mycroft Holmes7-Feb-11 19:28
professionalMycroft Holmes7-Feb-11 19:28 
QuestionAdd Controls Dynamically Using MVVM Pin
Kevin Marois3-Feb-11 8:20
professionalKevin Marois3-Feb-11 8:20 
AnswerRe: Add Controls Dynamically Using MVVM Pin
dasblinkenlight3-Feb-11 8:50
dasblinkenlight3-Feb-11 8:50 
GeneralRe: Add Controls Dynamically Using MVVM Pin
Kevin Marois3-Feb-11 9:04
professionalKevin Marois3-Feb-11 9:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.