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 InitializeLayout() { m_integratorSection = new IntegratorSection(true); m_sessionSection = new SessionSection(true); m_deviceSection = new DeviceSection(true); m_holder.Add(m_integratorSection); m_holder.Add(m_sessionSection); m_holder.Add(m_deviceSection); UpdateSections(); Content = m_holder; }
private void InitializeLayout() { m_addUserDataSection.ViewDataChanged += AddUserData_ViewDataChanged; m_holder.Add(m_addUserDataSection); m_holder.Add(m_integratorSection); m_holder.Add(m_sessionSection); m_holder.Add(m_deviceSection); Content = m_holder; }