【发布时间】:2021-09-05 23:47:33
【问题描述】:
我们正在为我们的项目使用视觉材料条目。
using Xamarin.Forms.Material.Android;
[assembly: ExportRenderer(typeof(Entry), typeof(CustomMaterialEntryRenderer ), new[] { typeof(VisualMarker.MaterialVisual) })]
namespace MyApp.Android
{
public class CustomMaterialEntryRenderer : MaterialEntryRenderer
{
//...
}
}
如何设置入口的边框颜色?
【问题讨论】:
-
您的意思是要更改下划线颜色吗?
-
没有。我想更改指示的边框颜色
-
您是否尝试使用
PlaceholderColor?
标签: c# xamarin xamarin.forms xamarin.android xamarin.ios