开源软件名称(OpenSource Name):HorusSoftwareUY/MaterialDesignControlsPlugin开源软件地址(OpenSource Url):https://github.com/HorusSoftwareUY/MaterialDesignControlsPlugin开源编程语言(OpenSource Language):C# 99.5%开源软件介绍(OpenSource Introduction):MaterialDesignControls Plugin for Xamarin FormsMaterialDesignControls Plugin for Xamarin Forms is a collection of Xamarin.Forms controls that apply the Material Design Guidelines Controls Index
Setup
Platform Support
API UsageYou must add this line to your platform specific project ( if you're using iOS: Plugin.MaterialDesignControls.iOS.Renderer.Init(); or if you're using Android: Plugin.MaterialDesignControls.Android.Renderer.Init(); You must add this namespace to your xaml files: xmlns:material="clr-namespace:Plugin.MaterialDesignControls;assembly=Plugin.MaterialDesignControls" ControlsMaterialButtonButtons allow users to take actions, and make choices, with a single tap.
MaterialChips & MaterialChipsGroupChips are compact elements that represent an input, attribute, or action.
MaterialDatePickerDate pickers let users select a date.
MaterialEditorText fields let users enter and edit text.
MaterialEntryText fields let users enter and edit text.
MaterialCodeEntryCode fields let users enter and edit pin codes.
MaterialFieldDisplays a value with its respective label in read-only format.
MaterialPickerPickers let users select an option.
MaterialDoublePickerDouble pickers let users select two options in the same dialog.
MaterialSelectionSelection let users select an option.
MaterialTimePickerTime pickers let users select a time.
MaterialRatingDisplays a rating control
MaterialSliderDisplays a slider control
MaterialSegmentedDisplays a segmented control
MaterialDividerA divider is a thin line that groups content in lists and layouts.
MaterialRadioButtonsDisplays a radiobuttons control
MaterialFloatingButtonDisplays a floating button
MaterialCheckboxDisplays a checkbox control
MaterialSwitchSwitches toggle the state of a single item on or off.
EffectsTouchAndPressEffectEffect to detect the different types of taps on a view: Pressing, Released and Canceled can be detected. Example <MyControl.Effects>
<material:TouchAndPressEffect />
</MyControl.Effects> public class MyControl : ContentView, ITouchAndPressEffectConsumer
{
public void ConsumeEvent(EventType gestureType)
{
TouchAndPressAnimation.Animate(this, gestureType);
}
} Demohttps://github.com/HorusSoftwareUY/MaterialDesignControlsPlugin/tree/master/example Developed byContributionsContributions are welcome! If you find a bug want a feature added please report it. If you want to contribute code please file an issue, create a branch, and file a pull request. LicenseMIT License - see LICENSE.txt |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论