如何在 Xamarin 中实现带有尾随图标的材料轮廓文本字段.形式 [英] how to implement material outlined Textfield with trailing icon in Xamarin. Forms

查看:35
本文介绍了如何在 Xamarin 中实现带有尾随图标的材料轮廓文本字段.形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试在 Xamarin Forms 中为我的应用实现材质视觉效果.现在我专注于带有尾随图标的轮廓文本字段.我查看了 customrenderer,但在 Xamarin 文档、论坛或任何 nuget 包中找不到任何答案.在这方面的任何帮助将不胜感激.

想要的结果

如材料网站所示:

I have been trying to implement material visual for my app in Xamarin Forms. Right now i am focusing on outlined textfield with trailing icon. I have looked into customrenderer, but could not find any answer in Xamarin documentation, forums or any nuget package. Any help in this regard will be highly appreciated.

Desired Result

As seen on material website: https://material.io/components/text-fields

解决方案

You can use MaterialDesignControlsPlugin it has TrailingIcon with Outlined properties

这篇关于如何在 Xamarin 中实现带有尾随图标的材料轮廓文本字段.形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆