Basic range slider for MAUI. As there's no RangeSlider as on Xamarin: https://learn.microsoft.com/en-us/xamarin/community-toolkit/views/rangeslider
Tested on Android / iOS real device.
Basic range slider for MAUI. As there's no RangeSlider as on Xamarin: https://learn.microsoft.com/en-us/xamarin/community-toolkit/views/rangeslider
Tested on Android / iOS real device.
| using System.Windows.Input; | |
| using Microsoft.Maui.Controls; | |
| namespace SO.Commons.MultiPlatform.Views.Controls; | |
| /// <summary> | |
| /// Wrapper arround a DatePicker and a TimePicker to create a DateTimePicker | |
| /// | |
| /// Design is mean't to be overrided via ControlTemplate see: https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/controltemplate | |
| /// |
| # script to anonymize attributes and geometry of a feature class | |
| # | |
| # /!\ String anonymization is light and based on MD5, use only for visual hidding not for security! | |
| # /!\ assumes SR are in meters like 102110/2154 | |
| # | |
| # To run: | |
| # & 'C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe' .\arcgis-anonymizer.py | |
| import arcpy |
settings.tsx, must be done from your widget code. settings.tsx code doesn't see the same app config as widget code.| # Simple algorithm to generate secret santa gifting, with no redundancy | |
| import random; | |
| # participants | |
| ppl = ["A", "B", "C", "D", "E", "F"]; | |
| # shuffle them | |
| random.shuffle(ppl); |