private void InitializeLayout() { // Create holder for sections. The holder can expand/collaps sections and // displays a title for each section EtoCollapsibleSectionHolder holder = new EtoCollapsibleSectionHolder(); // Create two sections SectionOne section1 = new SectionOne(); SectionTwo section2 = new SectionTwo(); // Populate the holder with sections holder.Add(section1); holder.Add(section2); // Create a tablelayout that contains the holder and add it to the UI // Content TableLayout tableLayout = new TableLayout() { Rows = { holder } }; Content = tableLayout; }
private void InitializeComponents() { m_holder = new EtoCollapsibleSectionHolder(); m_addUserDataSection = new AddUserdataSection(false); m_integratorSection = new IntegratorSection(false); m_sessionSection = new SessionSection(false); m_deviceSection = new DeviceSection(false); }
private void InitializeComponents() { m_holder = new EtoCollapsibleSectionHolder(); }