{"id":19084314,"url":"https://github.com/userr00t/slidingpanel","last_synced_at":"2026-06-22T13:31:12.337Z","repository":{"id":106328986,"uuid":"151761306","full_name":"UserR00T/SlidingPanel","owner":"UserR00T","description":"Animate your panel's width and height.","archived":false,"fork":false,"pushed_at":"2019-10-22T11:51:52.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-06T18:52:30.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UserR00T.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-05T18:18:18.000Z","updated_at":"2019-10-22T11:51:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"115dc3dc-1e39-4686-974b-5b00c88e80d8","html_url":"https://github.com/UserR00T/SlidingPanel","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/UserR00T/SlidingPanel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserR00T%2FSlidingPanel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserR00T%2FSlidingPanel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserR00T%2FSlidingPanel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserR00T%2FSlidingPanel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UserR00T","download_url":"https://codeload.github.com/UserR00T/SlidingPanel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UserR00T%2FSlidingPanel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34651747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T02:50:49.739Z","updated_at":"2026-06-22T13:31:12.318Z","avatar_url":"https://github.com/UserR00T.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SlidingPanel\n\n\u003e Animate your panel's width and height.\n\n![](https://i.imgur.com/qQR8IKG.gif)\n\nVersion: [MP4](https://puu.sh/BGd0U/0526b82275.mp4) | [GIF](https://i.imgur.com/qQR8IKG.gif)\n\n## Installation\n\n1. Goto ``'Releases'``.\n2. Download the latest version.\n3. Reference the ``.dll`` into your Windows Forms Application project.\n\n## How to use\n1. Create a new ``SlidingPanel`` by typing *(Suggested to add to a ``List\u003cSlidingPanel\u003e``)*\n```CSharp\nnew SlidingPanel(Panel, ToSide, maxWidth, minWidth, increaseBy = 1, threadDelay = 10, start = true);\n``` \n2. You can use the ``.Hide()``, ``.Show()``, and ``.Toggle()`` methods on the ``SlidingPanel`` instance.\n\n## Example\n\n```CSharp\n// ...\nusing SlidingPanelNS;\n// ...\nprivate readonly List\u003cSlidingPanel\u003e slidingPanels = new List\u003cSlidingPanel\u003e();\nprivate void Form1_Load(object sender, EventArgs e)\n{\n    slidingPanels.Add(new SlidingPanel(SidePanel, SlidingPanel.ToSide.Right, 200, SidePanel.Width, 3));\n    slidingPanels.Add(new SlidingPanel(SidePanel2, SlidingPanel.ToSide.Right, 2, SidePanel2.Width, 1, 400));\n    slidingPanels.Add(new SlidingPanel(MainPanel, SlidingPanel.ToSide.Bottom, 230, MainPanel.Height, 3));\n}\nprivate void CloseBtn_Click(object sender, EventArgs e)\n{\n    slidingPanels.ForEach(x=\u003ex.Hide());\n}\nprivate void OpenBtn_Click(object sender, EventArgs e)\n{\n    slidingPanels.ForEach(x =\u003e x.Show());\n}\nprivate void ToggleBtn_Click(object sender, EventArgs e)\n{\n    slidingPanels.ForEach(x =\u003e x.Toggle());\n}\n```\n\n## Methods\n\nMethod | Function\n--- | ---\n``.Show()`` | Opens the panel till it reached the max width/height.\n``.Hide()`` | Closes the panel till it reached the min width/height.\n``.Toggle()`` | Closes the panel if its open, otherwise it' open it (exactly what toggle should do, duh)\n--- | ---\n``.StartLoop()`` | Starts the loop if ``start`` at the construcor has been set to false.\n``.StopLoop()`` | Stops the loop; nothing will happen when you call ``Show``, ``Hide``, or ``Toggle`` once disabled.\n``.ToggleLoop()`` | Toggles the loop.\n\n## Constructor Arguments\n\n```CSharp\npublic SlidingPanel(Panel mainPanel, ToSide side, int maxWidth, int minWidth, int increaseBy = 1, int threadDelay = 10, bool start = true)\n```\n\nArgument | Type | Default | Function\n--- | --- | --- | ---\n``Panel`` | ``Panel`` | --- | The panel this instance should work on.\n``ToSide`` | ``ToSide`` | --- | The side it should go to.\n``maxWidth`` | ``int`` | --- | The panel's maximum size.\n``minWidth`` | ``int`` | --- | The panel's minimum size.\n``increaseBy`` | ``int`` | ``1`` | Increases the panel's size by that integer each tick (ticks are set by ``threadDelay``)\n``threadDelay`` | ``int`` | ``10`` | The delay between ticks in milliseconds. \n``start`` | ``bool`` | ``true`` | Start loop once constructed? Suggested to leave ``true``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserr00t%2Fslidingpanel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuserr00t%2Fslidingpanel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserr00t%2Fslidingpanel/lists"}