• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

HorusSoftwareUY/MaterialDesignControlsPlugin: Material Design Controls Plugin fo ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

HorusSoftwareUY/MaterialDesignControlsPlugin

开源软件地址(OpenSource Url):

https://github.com/HorusSoftwareUY/MaterialDesignControlsPlugin

开源编程语言(OpenSource Language):

C# 99.5%

开源软件介绍(OpenSource Introduction):

MaterialDesignControls Plugin for Xamarin Forms

MaterialDesignControls Plugin for Xamarin Forms is a collection of Xamarin.Forms controls that apply the Material Design Guidelines

Controls Index

Setup

Platform Support

Platform Version
Xamarin.iOS iOS 8+
Xamarin.Android API 16+
Xamarin.Forms >= 4.4.0.991864

API Usage

You must add this line to your platform specific project (AppDelegate.cs, MainActivity.cs) before you use MaterialDesignControls:

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"

Controls

MaterialButton

Buttons allow users to take actions, and make choices, with a single tap.

View documentation


MaterialChips & MaterialChipsGroup

Chips are compact elements that represent an input, attribute, or action.

View documentation


MaterialDatePicker

Date pickers let users select a date.

View documentation


MaterialEditor

Text fields let users enter and edit text.

View documentation


MaterialEntry

Text fields let users enter and edit text.

View documentation


MaterialCodeEntry

Code fields let users enter and edit pin codes.

View documentation


MaterialField

Displays a value with its respective label in read-only format.

View documentation


MaterialPicker

Pickers let users select an option.

View documentation


MaterialDoublePicker

Double pickers let users select two options in the same dialog.

View documentation


MaterialSelection

Selection let users select an option.

View documentation


MaterialTimePicker

Time pickers let users select a time.

View documentation


MaterialRating

Displays a rating control

View documentation


MaterialSlider

Displays a slider control

View documentation


MaterialSegmented

Displays a segmented control

View documentation


MaterialDivider

A divider is a thin line that groups content in lists and layouts.

View documentation


MaterialRadioButtons

Displays a radiobuttons control

View documentation


MaterialFloatingButton

Displays a floating button

View documentation


MaterialCheckbox

Displays a checkbox control

View documentation


MaterialSwitch

Switches toggle the state of a single item on or off.

View documentation



Effects

TouchAndPressEffect

Effect 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);
    }
}

Demo

https://github.com/HorusSoftwareUY/MaterialDesignControlsPlugin/tree/master/example

Developed by

Contributions

Contributions 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.

License

MIT License - see LICENSE.txt




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap