在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):SuavePirate/SuaveControls.MaterialFormControls开源软件地址(OpenSource Url):https://github.com/SuavePirate/SuaveControls.MaterialFormControls开源编程语言(OpenSource Language):C# 100.0%开源软件介绍(OpenSource Introduction):SuaveControls.MaterialFormControlsSome Xamarin.Forms input fields built to Material Design Standards This project is still a work in progress and bound to see updates. InstallationUse the preview package from NuGet or clone the repository and reference the projects directly:
UsageUse each of the form controls in your XAML or C# code, and be sure to initialize the underlying <suave:MaterialEntry Placeholder="Email" Keyboard="Email" AccentColor="Green"/>
<suave:MaterialEntry Placeholder="Regular Text" AccentColor="Orange"/>
<suave:MaterialEntry Placeholder="Number" Keyboard="Numeric" AccentColor="Red"/>
<suave:MaterialEntry IsPassword="True" Placeholder="Password" AccentColor="Blue"/>
<suave:MaterialDatePicker Placeholder="Date Picker" AccentColor="BlueViolet"/>
<suave:MaterialTimePicker Placeholder="Time Picker" AccentColor="HotPink" />
<suave:MaterialPicker
Placeholder="Picker"
AccentColor="Maroon"
Items="{Binding PickerData}"
SelectedItem="{Binding PickerSelectedItem}"
SelectedIndexChangedCommand="{Binding PickerSelectedIndexChangedCmd}" />
<suave:MaterialButton x:Name="MyButton"
BackgroundColor="#03A9F4"
TextColor="White"
Text="Click to raise elevation"
Elevation="1"
VerticalOptions="Center"
HorizontalOptions="Center"
WidthRequest="300"
BorderRadius="0"
Clicked="MyButton_Clicked"/> BorderlessEntry.Init(); Check out the example projects for more in-depth demos. Validation and StateCheck out this blog post for more details https://alexdunn.org/2018/02/22/xamarin-controls-material-form-control-updates/ The controls now allow for an This means you can create custom Check out the MaterialFormsBehaviors (https://github.com/SuavePirate/SuaveControls.MaterialEntryBehaviors) repository for examples and helpful Behaviors (work in progress) ContributingWe are always looking for help to make this project even better!
Awesome contributors:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论