{"id":21070341,"url":"https://github.com/devsdna/dnaxfsliderbutton","last_synced_at":"2025-03-14T02:41:47.124Z","repository":{"id":144190062,"uuid":"92312575","full_name":"DevsDNA/DNAXFSliderButton","owner":"DevsDNA","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-30T12:55:08.000Z","size":544,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-20T21:55:48.532Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevsDNA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-05-24T16:18:26.000Z","updated_at":"2017-05-30T17:08:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"423449c9-8590-455d-a351-1587c5b1edd5","html_url":"https://github.com/DevsDNA/DNAXFSliderButton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevsDNA%2FDNAXFSliderButton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevsDNA%2FDNAXFSliderButton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevsDNA%2FDNAXFSliderButton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevsDNA%2FDNAXFSliderButton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevsDNA","download_url":"https://codeload.github.com/DevsDNA/DNAXFSliderButton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513473,"owners_count":20302953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-19T18:46:27.610Z","updated_at":"2025-03-14T02:41:47.091Z","avatar_url":"https://github.com/DevsDNA.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNAXFSliderButton\nThis control allow you to create an sliding button, much like the shutdown button on iOS or the old unlock button on iOS.\n\nThe control is completely written in XAML and C# and don't uses renders, so it is available on iOS, Android and Windows.\n\n\n![SliderButton](/screenshots/screenshot.gif?raw=true \"Slider button cross platform\")\n\n## How to use the control.\nJust include the code (or compile it) add a XMLNS to the control namespace:\n\n`xmlns:control=\"clr-namespace:DNAXFSlidingButton;assembly=DNAXFSlidingButton\"`\n\nAnd you are ready to go:\n\n```\n\u003ccontrol:DNAXFSlidingButton HorizontalOptions=\"Center\" VerticalOptions=\"Center\" HeightRequest=\"44\" WidthRequest=\"150\" \n                            ActivateCommand=\"{Binding TestCommand}\" AnimationSpeed=\"800\"\u003e\n    \u003ccontrol:DNAXFSlidingButton.BackgroundContent\u003e\n        \u003cContentView\u003e\n            \u003c!-- Background showed when sliding the thumb \n                    using the AnimationSpeed property --\u003e\n        \u003c/ContentView\u003e\n    \u003c/control:DNAXFSlidingButton.BackgroundContent\u003e\n    \u003ccontrol:DNAXFSlidingButton.IndicatorContent\u003e\n        \u003cContentView\u003e\n            \u003c!-- Content to show when not sliding the thumb --\u003e\n        \u003c/ContentView\u003e\n    \u003c/control:DNAXFSlidingButton.IndicatorContent\u003e\n    \u003ccontrol:DNAXFSlidingButton.ThumbContent\u003e\n        \u003cContentView  WidthRequest=\"40\" HeightRequest=\"40\" HorizontalOptions=\"Start\" VerticalOptions=\"Center\"\u003e\n            \u003c!-- Content to show for the thumb --\u003e\n        \u003c/ContentView\u003e\n    \u003c/control:DNAXFSlidingButton.ThumbContent\u003e\n\u003c/control:DNAXFSlidingButton\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsdna%2Fdnaxfsliderbutton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevsdna%2Fdnaxfsliderbutton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevsdna%2Fdnaxfsliderbutton/lists"}