Click here to Skip to main content
15,888,044 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Preload ImageSource from URI Pin
ezazazel20-Apr-10 6:22
ezazazel20-Apr-10 6:22 
GeneralRe: Preload ImageSource from URI Pin
Leung Yat Chun26-Apr-10 10:14
Leung Yat Chun26-Apr-10 10:14 
QuestionShowing an external image in Expression Blend or Visual Studio ? Pin
Mohammad Dayyan18-Apr-10 20:43
Mohammad Dayyan18-Apr-10 20:43 
QuestionLoading an external image to WPF App ? Pin
Mohammad Dayyan18-Apr-10 0:32
Mohammad Dayyan18-Apr-10 0:32 
AnswerRe: Loading an external image to WPF App ? Pin
Roman Lerman21-Apr-10 19:43
Roman Lerman21-Apr-10 19:43 
QuestionMessage Removed Pin
15-Apr-10 23:39
Lana_15-Apr-10 23:39 
AnswerRe: How to make the arrows keys act as another keys? Pin
Abhinav S16-Apr-10 1:34
Abhinav S16-Apr-10 1:34 
QuestionTreeView Data binding Pin
Joe Rozario15-Apr-10 20:45
Joe Rozario15-Apr-10 20:45 
Dear friends,

i am new to wpf and i got some doubt ,

i have class like these

public class FileSystem
     {
         Drive[] m_Drive;
         public Drive[] Drives
         {
             get { return m_Drive; }
         }
     }
     public class Drive
     {
         public string DriveName { get; set; }

         Directory[] m_Directory;
         public Directory[] Directories
         {
             get { return m_Directory; }
         }
     }
     public class Directory
     {
         public string DirectoryName { get; set; }

         File[] m_Files;
         public File[] Files
         {
             get { return m_Files; }
         }
     }
     public class File
     {
         public string FileName { get; set; }
     }


now i want to represent these in treeview control, how to do that?

can some one give me the XAML with (binding and explanation)


Thank you

Joe
AnswerRe: TreeView Data binding Pin
Pete O'Hanlon15-Apr-10 22:01
mvePete O'Hanlon15-Apr-10 22:01 
GeneralRe: TreeView Data binding Pin
Joe Rozario15-Apr-10 22:26
Joe Rozario15-Apr-10 22:26 
GeneralRe: TreeView Data binding Pin
Pete O'Hanlon16-Apr-10 2:46
mvePete O'Hanlon16-Apr-10 2:46 
GeneralRe: TreeView Data binding Pin
silverlightnewbee4-Jan-11 18:34
silverlightnewbee4-Jan-11 18:34 
AnswerRe: TreeView Data binding Pin
Leung Yat Chun26-Apr-10 10:19
Leung Yat Chun26-Apr-10 10:19 
QuestionUriMapper (and stuff) [SOLVED (sorta)] Pin
#realJSOP15-Apr-10 6:23
mve#realJSOP15-Apr-10 6:23 
AnswerRe: UriMapper (and stuff) Pin
Abhinav S16-Apr-10 1:50
Abhinav S16-Apr-10 1:50 
GeneralRe: UriMapper (and stuff) Pin
#realJSOP16-Apr-10 6:10
mve#realJSOP16-Apr-10 6:10 
GeneralRe: UriMapper (and stuff) [SOLVED (sorta)] Pin
Abhinav S16-Apr-10 20:19
Abhinav S16-Apr-10 20:19 
QuestionEncrypting app.config through code [modified] Pin
dashingsidds15-Apr-10 0:21
dashingsidds15-Apr-10 0:21 
AnswerRe: Encrypting app.config through code Pin
dashingsidds15-Apr-10 0:57
dashingsidds15-Apr-10 0:57 
AnswerRe: Encrypting app.config through code Pin
Not Active15-Apr-10 2:08
mentorNot Active15-Apr-10 2:08 
GeneralRe: Encrypting app.config through code Pin
dashingsidds15-Apr-10 2:59
dashingsidds15-Apr-10 2:59 
GeneralRe: Encrypting app.config through code Pin
Not Active15-Apr-10 3:31
mentorNot Active15-Apr-10 3:31 
GeneralRe: Encrypting app.config through code Pin
dashingsidds15-Apr-10 18:40
dashingsidds15-Apr-10 18:40 
QuestionWPF Toolkit Datagrid Performance issue in rendering Pin
Ankush12314-Apr-10 20:47
Ankush12314-Apr-10 20:47 
AnswerRe: WPF Toolkit Datagrid Performance issue in rendering Pin
Leung Yat Chun26-Apr-10 10:27
Leung Yat Chun26-Apr-10 10:27 

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.