jemand weiß eine C# winforms akkordeon control?winforms accordion
vorzugsweise Open Source oder frei.
jemand weiß eine C# winforms akkordeon control?winforms accordion
vorzugsweise Open Source oder frei.
XPTaskBar könnte Ihre Bedürfnisse erfüllen. Ich benutze die kommerziell (aber preisgünstige) Krypton Suite
SynFusion hat GroupBar, sein im Grunde Outlook wie Left Side Bar Sein ziemlich glatt http://www.syncfusion.com/products/user-interface-edition/windows-forms/tools/features#navigation-package
FYI - das ist ein kommerzielles Produkt. – sproketboy
Hier ist ein einfaches Beispiel, die CheckBox
Kontrollen mit Appearance
Satz Button
verwendet für die Header. Download accordion.cs on sourceforge.
Demo-Code:
Accordion acc = new Accordion();
acc.CheckBoxMargin = new Padding(2);
acc.ContentMargin = new Padding(15, 5, 15, 5);
acc.ContentPadding = new Padding(1);
acc.Insets = new Padding(5);
acc.ControlBackColor = Color.White;
acc.ContentBackColor = Color.CadetBlue;
TableLayoutPanel tlp = new TableLayoutPanel { Dock = DockStyle.Fill, Padding = new Padding(5) };
tlp.TabStop = true;
tlp.Controls.Add(new Label { Text = "First Name", TextAlign = ContentAlignment.BottomLeft }, 0, 0);
tlp.Controls.Add(new TextBox(), 1, 0);
tlp.Controls.Add(new Label { Text = "Last Name", TextAlign = ContentAlignment.BottomLeft }, 0, 1);
tlp.Controls.Add(new TextBox(), 1, 1);
acc.Add(tlp,"Contact Info", "Enter the client's information.", 0, true);
acc.Add(new TextBox { Dock = DockStyle.Fill, Multiline = true, BackColor = Color.White }, "Memo", "Additional Client Info", 1, true, contentBackColor:Color.Transparent);
acc.Add(new Control(), "Other Info", "Miscellaneous information.");
Check this out. Es ist fantastisch http://www.codeproject.com/Articles/416521/Easy-WinForms-Accordion-Control Dies ist eine späte Antwort, aber es ist hilfreich für jemand anderen – Moons