如何在 Xamarin 中实现带有尾随图标的材料轮廓文本字段.形式

编程入门 行业动态 更新时间:2024-10-14 10:45:04
本文介绍了如何在 Xamarin 中实现带有尾随图标的材料轮廓文本字段.形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我一直在尝试在 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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-30 20:21:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1398921.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字段   轮廓   图标   文本   形式

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!