百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
X

Xfx.Controls

> 数据库
开源

Xamarin Forms 扩展控件

190 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Xamarin Forms 扩展控件

Xamarin Forms Extended Controls

Description Xfx Controls are just a few controls that differ from the baked in Xamarin.Forms Controls.

iOS Android UWP Mac
XfxEntry :white_check_mark: :white_check_mark: :x: :x:
XfxComboBox :white_check_mark: :white_check_mark: :x: :x:
XfxCardView :white_check_mark: :white_check_mark: :x: :x:

  • Getting Started
    • Android
    • iOS
  • Demos
  • Code
    • XfxEntry
    • XfxComboBox
    • XfxCardView
  • Contributions / Thanks
  • License

Getting Started

Android

In your MainActivity, initialize XfxControls just before initializing Xamarin Forms

csharp
XfxControls.Init();
global::Xamarin.Forms.Forms.Init(this, bundle);

note: XfxEntry and XfxComboBox REQUIRES your app to use an AppCompat theme.

iOS

In your AppDelegate, initialize XfxControls just before initializing Xamarin Forms

csharp
XfxControls.Init();
global::Xamarin.Forms.Forms.Init();

Demos

Code

Declaration is exactly the same as a Xamarin.Forms.Entry, with some added properties

XfxEntry

xml

When the ErrorText property is set, the ErrorText will display, otherwise if it is null or empty, it's removed.

XfxComboBox

xml

The XfxComboBox extends the XfxEntry and therefore also includes the ErrorText property.
Beyond that there is an ItemsSource property, SelectedItem property, and a SortingAlgorithm property.
The first two are pretty self explanitory, but here's an example of how you can set the SortingAlgorithm

csharp
public class MyViewModel : INotifyPropertyChanged
{
	public Func, ICollection> SortingAlgorithm { get; } = (text, values) => values
		.Where(x => x.StartsWith(text, StringComparison.CurrentCultureIgnoreCase)))
		.OrderBy(x => x)
		.ToList();
}

XfxCardView

xml

    
        
        
            
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse fringilla turpis turpis, id lobortis dolor vestibulum condimentum.
            
        
        
    

Contributions / Thanks

  • @MarcBruins for: MBAutoComplete
  • @gshackles for: FloatLabeledEntry

License

Licensed MIT, please review the license file.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#custom-controlsxamarinxamarin-forms

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库