https://github.com/jsuarezruiz/xamarin.forms.composite
Tests and prototypes using Xamarin.Forms Composite Controls and ControlTemplate
https://github.com/jsuarezruiz/xamarin.forms.composite
composite controls controltemplate ui xamarin xamarin-forms
Last synced: 25 days ago
JSON representation
Tests and prototypes using Xamarin.Forms Composite Controls and ControlTemplate
- Host: GitHub
- URL: https://github.com/jsuarezruiz/xamarin.forms.composite
- Owner: jsuarezruiz
- Created: 2019-11-16T16:37:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-17T18:39:47.000Z (over 5 years ago)
- Last Synced: 2024-05-02T05:31:55.620Z (about 1 year ago)
- Topics: composite, controls, controltemplate, ui, xamarin, xamarin-forms
- Language: C#
- Size: 738 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xamarin.Forms Composite Controls
In this repository there are only some tests related to the idea of composite controls, have a **Template** property and be able to use **ControlTemplate** to customize a control.

## Let's see more details!
For these tests we have created a Slider Composite control (composed of other Views that make up the control).

We have the same visual appearance, properties and events. However, the control has a Template property that allows us to modify the ControlTemplate that defines the control.
We modify the Slider ControlTemplate:
```
```
And we use it:
```
```
The result:

We can use XAML Hot Reload to adjust the appearance:

Some **performance** related data (using Android):
Memory
* 127545344 (121MB) - Slider
* 127246336 (121MB) - Slider (Composite)Startup time (Release AOT)
* 797ms - Slider
* 801ms - Slider (Composite)## Feedback
You can create feedback in this repository. If you have any questions, please don't hesitate to create an issue.