Esempio n. 1
0
 public VM()
 {
     ExpData = new EVMM()
     {
         Expand = false
     };
     ExpData.AddRange(new VMM[]
     {
         new VMM()
         {
             HeadText    = "Header eeeeeeexpander1",
             ContentText = "Content eeeeeeeeeexpander1"
         },
         new VMM()
         {
             HeadText    = "Header eeeeeeexpander2",
             ContentText = "Content eeeeeeeeeexpander2"
         },
         new VMM()
         {
             HeadText    = "Header eeeeeeexpander3",
             ContentText = "Content eeeeeeeeeexpander3"
         },
         new VMM()
         {
             HeadText    = "Header eeeeeeexpander4",
             ContentText = "Content eeeeeeeeeexpander4"
         }
     });
 }
Esempio n. 2
0
        public MainWindow()
        {
            InitializeComponent();
            m_vm = new EVMM()
            {
                Expand = false
            };
            m_vm.AddRange(new VMM[]
            {
                new VMM()
                {
                    HeadText    = "Header eeeeeeexpander1",
                    ContentText = "Content eeeeeeeeeexpander1"
                },
                new VMM()
                {
                    HeadText    = "Header eeeeeeexpander2",
                    ContentText = "Content eeeeeeeeeexpander2"
                },
                new VMM()
                {
                    HeadText    = "Header eeeeeeexpander3",
                    ContentText = "Content eeeeeeeeeexpander3"
                },
                new VMM()
                {
                    HeadText    = "Header eeeeeeexpander4",
                    ContentText = "Content eeeeeeeeeexpander4"
                }
            });

            DataContext = m_vm;
        }