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

Xamarin.Forms.InputKit

> 数据库
开源

CheckBox、单选按钮、带标签的滑动条、下拉菜单等

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

工具介绍

CheckBox、单选按钮、带标签的滑动条、下拉菜单等

InputKit

CheckBox, RadioButton, Advanced Entry, Advanced Slider etc.

Getting Started with InputKit on MAUI

  • Install InputKit.Maui package from NuGet.

  • Go to your MauiProgram.cs file and add following line:

    csharp
    builder
    .UseMauiApp()
    .ConfigureMauiHandlers(handlers =>
    {
        // Add following line:
        handlers.AddInputKitHandlers(); // 
    })
                            
  • Read the documentation for further information.


Getting Started with InputKit on Xamarin Forms

  • Install Xamarin.Forms.InputKit package from NuGet.

  • Follow the Documentation of Getting Started for each platform.

CheckBox

A checkbox control that is useful, customizable, full-featured, fully-bindable and easy to use.

  • Sample Code
  • Documentation

RadioButton

A radio button control that is useful, customizable, full-featured, fully-bindable and easy to use.

  • Sample Code
  • Documentation

Advanced Entry

This entry has many features to develop your applications quickly. When this entry is completed, it finds the next entry in the Parent layout and focuses it. AdvancedEntry contains a validation system inside it. You can set some properties to validate it and you can handle whether all your entries are validated or not with FormView. You can set validation message and AnnotatinColor. Entry will automatically display your message when it's not validated.

  • Sample Code
  • Documentation

PROPERTIES:

Text: (string) Text of user typed

Title: (string) Title will be shown top of this control

IconImage: (string) Icons of this Entry. Icon will be shown left of this control

IconColor: (Color) Color of Icon Image. IconImage must be a PNG and have Alpha channels. This fills all not-Alpha channels one color. Default is Accent

Placeholder: (string) Entry's placeholder.

MaxLength: (int) Text's Maximum length can user type.

MinLength: (int) Text's Minimum length to be validated.

AnnotationMessage: (string) This will be shown below title. This automaticly updating. If you set this manually you must set true IgnoreValidationMessage !!! .

AnnotationColor: (Color) AnnotationMessage's color..

Annotation: (Enum) There is some annotation types inside in kit.

IsDisabled: (bool) Sets this control disabled or not.

IsAnnotated: (bool) Gets this control annotated or not. Depends on Annotation

IsRequired: (bool) IValidation implementation. Same with IsAnnotated

ValidationMessage: (string) This is message automaticly displayed when this is not validated. Use this one instead of annotationmessage

IgnoreValidationMessage: (bool) Ignores automaticly shown ValidationMessage and you can use AnnotationMessage as custom.

CompletedCommand: (ICommand) Executed when completed.

SelectionView

Presents options to user to choose. This view didn't created to static usage. You should Bind a model List as ItemSource, or if you don't use MVVM you can set in page's cs file like below. (You can override ToString method to fix display value or I'll add displayMember property soon.)

  • Sample Code
  • Documentation

SAMPLE:

xaml

    

        

    
csharp
public partial class MainPage : ContentPage
	{
		public MainPage()
		{
			InitializeComponent();
            selectionView.ItemSource = new[]
            {
                "Option 1","Option 2","Option 3","Option 4","Option 5","Option 6","Option 7","Option 8"
            };
		}
	}

You may use a object list as ItemSource, You can make this. Don't forget override ToString() method in your object.

sample object:

csharp
  public class SampleClass
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public override string ToString() => Name;
    }

Usage:

…

PROPERTIES:

ItemSource: (IList) List of options

SelectedItem: (object) Selected Item from ItemSource

ColumnNumber: (int) Number of columng of this view

AutoCompleteEntry

Alternative picker with dropdown menu. ( Xamarin Forms only )

xaml
 

PROPERTIES:

Placeholder: (string) Placehodler Text

Title: (string) Title will be shown top of this control

IconImage: (string) Icons of this Entry. Icon will be shown left of this control

Color: (Color) Color of Icon Image. IconImage must be a PNG and have Alpha channels. This fills all not-Alpha channels one color. Default is Accent

ValidationMessage: (string) This is message automaticly displayed when this is not validated. Use this one instead of annotationmessage

AnnotationColor: (Color) AnnotationMessage's color..

IsRequired: (bool) IValidation implementation. Same with IsAnnotated

ItemsSource: (IList) Suggestions items

To be added...

Dropdown ( Experimental )

Alternative picker with dropdown menu. (Xamarin Forms only)

SAMPLE:

xaml
 

PROPERTIES:

Placeholder: (string) Placehodler Text

Title: (string) Title will be shown top of this control

IconImage: (string) Icons of this Entry. Icon will be shown left of this control

Color: (Color) Color of Icon Image. IconImage must be a PNG and have Alpha channels. This fills all not-Alpha channels one color. Default is Accent

ValidationMessage: (string) This is message automaticly displayed when this is not validated. Use this one instead of annotationmessage

AnnotationColor: (Color) AnnotationMessage's color..

IsRequired: (bool) IValidation implementation. Same with IsAnnotated

Advanced Slider

Xamarin Forms Slider works a Sticky label on it. Wonderful experience for your users.

SAMPLE:

xaml

    

        

    

PROPERTIES:

Value: (double) Current Selected Value, (this can be used TwoWayBinding)

Title: (string) Title of slider

ValueSuffix: (string) Suffix to be displayed near Value on Floating Label

ValuePrefix: (string) Prefix to be displayed near Value on Floating Label

MinValue: (double) Sliders' minimum value

MaxValue: (double) Sliders' maximum value

MaxValue: (double) Sliders' increment value

TextColor: (Color) Color of Texts

DisplayMinMaxValue: (bool) Visibility of Minimum and Maximum value

Did you like ?

Your coffee keeps me awake while developing projects like this. ☕

Issues· 0 开放

查看全部 Issues在 GitHub 打开

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

> 标签

C#annotationcheckboxnugetradio-buttons

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

> 工具信息

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

> 相关工具

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