Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rhedgpeth/Prototype.Forms.Controls
This sample app contains a random mixture of Xamarin/Xamarin.Forms controls, views, and functionality snippets that I've created.
https://github.com/rhedgpeth/Prototype.Forms.Controls
android cross-platform ios mobile-app mobile-controls mobile-development xamarin xamarin-android xamarin-forms xamarin-ios xamarin-library xamarin-plugin xamarinforms
Last synced: 3 months ago
JSON representation
This sample app contains a random mixture of Xamarin/Xamarin.Forms controls, views, and functionality snippets that I've created.
- Host: GitHub
- URL: https://github.com/rhedgpeth/Prototype.Forms.Controls
- Owner: rhedgpeth
- License: apache-2.0
- Created: 2019-05-02T22:00:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-14T00:45:19.000Z (over 5 years ago)
- Last Synced: 2024-05-13T00:36:23.225Z (6 months ago)
- Topics: android, cross-platform, ios, mobile-app, mobile-controls, mobile-development, xamarin, xamarin-android, xamarin-forms, xamarin-ios, xamarin-library, xamarin-plugin, xamarinforms
- Language: C#
- Homepage:
- Size: 942 KB
- Stars: 20
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xamarin-forms - Prototype.Forms.Controls ★22
README
# Prototype.Forms.Controls
This sample app contains a random mixture of Xamarin/Xamarin.Forms controls, views, and functionality snippets that I've created.
# Table of Contents
1. [ToggleButton](#togglebutton)
2. [Checkbox](#checkbox)
3. [Checkbox List](#checkboxlist)
4. [Collapsible/Expandable (Accordion) List](#collapsible-expandable-list)
5. [Editable Label](#editable-label)
6. [ListView with TappedCommand](#listview-command)
7. [ListView with Infinite Scroll](#listview-infinite-scroll)
8. [RadioButtonList](#radiobuttonlist)
9. [TabControl with Collapsible/Expandable capabilities](#tabcontrol)A `ToggleButton` is a control that allows for switching back and forth between images (e.g. 'checked' and 'unchecked' below). `ToggleButton` inherits from `Xamarin.Forms.Button`.
```xml
```
The `Checkbox` control is essentially a `StackLayout` that contains a `ToggleButton` and `Label`.
```xml
```
**Coming Soon**: *Overridable SkiaSharp (default) implementations for Checked/Unchecked states in place of where images are currently required. This will eliminate the need for any platform additions (images).*
The `CheckboxList` control inherits from `Xamarin.Forms.ListView` and contains a list of `Checkbox` controls. It allows you to bind a collection of `ISelectableItem` object implementations, and maintain a list of selected items. `CheckboxList` contains events and commands observing changes to the `CheckboxList` items.
```xml
```
**Note:** The `CheckboxList` control also contains functionality for selecting/de-selecting all of the checkboxes in the list. (Documentation and samples coming soon for this).
## Collapsible/Expandable (Accordion) List
(Coming soon!)
(Coming soon!)
## ListView with Item Tapped Command
(Coming soon!)
## ListView with Infinite Scroll
(Coming soon!)
The `RadioButtonList` inherits from `StackLayout`, and contains a list of `RadioButton` controls. The `ItemsSource` property within the `RadioButtonList` expects `IEnumerable`. The collection of strings is used to create the `RadioButton` items contained within the `RadioButtonList`.
```xml
```
**Note:** The `RadioButton` control requires custom renderering within the iOS and Android projects.
**Coming Soon:** I will be expanding the functionality of the to allow for more options (i.e. pre-selecting radio button items, custom selected/unselected formatting, etc.)
## TabControl with Collapsible/Expandable capabilities
(Coming soon!)