• Stars
    star
    567
  • Rank 75,977 (Top 2 %)
  • Language
    C#
  • License
    MIT License
  • Created about 6 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CheckBox, Radio Button, Labeled Slider, Dropdowns etc.

InputKit

CheckBox, RadioButton, Advanced Entry, Advanced Slider etc.


Build status CodeFactor Nuget Nuget
Sparkline



Getting Started with InputKit on MAUI

  • Install InputKit.Maui package from NuGet.

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

    builder
    .UseMauiApp<App>()
    .ConfigureMauiHandlers(handlers =>
    {
        // Add following line:
        handlers.AddInputKitHandlers(); // πŸ‘ˆ
    })
                            
  • Read the documentation for further information.


Getting Started with InputKit on Xamarin Forms


CheckBox

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


Xamarin Forms CheckBox Input Kit Enis Necipoglu Xamarin Forms CheckBox Input Kit Enis Necipoglu Xamarin Forms CheckBox Input Kit Enis Necipoglu

RadioButton

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

Xamarin Forms MAUI RadioButton Input Kit Enis Necipoglu Xamarin Forms CheckBox Input Kit Enis Necipoglu Xamarin Forms Radio Button Input Kit Enis Necipoğlu

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.

Xamarin Forms Slider Sticky Label

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:

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:Sample.InputKit"
             xmlns:input="clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit"
             x:Class="Sample.InputKit.MainPage">

    <StackLayout Spacing="12" Padding="10,0" VerticalOptions="CenterAndExpand">

        <input:SelectionView x:Name="selectionView" />

    </StackLayout>
</ContentPage>
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"
            };
		}
	}

Xamarin Forms SelectionView Enis Necipoglu

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

sample object:

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

Usage:

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

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 )

 <input:AutoCompleteEntry Title="Type something below:"
                          ItemsSource="{Binding MyList}" 
                          SelectedItem="{Binding SelectedItem}" />
Xamarin Forms Slider Sticky Label Xamarin Forms Slider Sticky Label

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:

 <input:Dropdown Title="Chosse an option below:"
                            TitleColor="Black"
                            ValidationMessage="This field is required" 
                            AnnotationColor="Accent" 
                            IsRequired="True" 
                            BorderColor="Black" 
                            Color="BlueViolet"
                            Placeholder="Choose one" 
                            ItemsSource="{Binding MyList}" 
                            SelectedItem="{Binding SelectedItem}" />

Xamarin Forms Slider Sticky Label

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:

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:Sample.InputKit"
             xmlns:input="clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit"
             x:Class="Sample.InputKit.MainPage">

    <StackLayout Spacing="12" Padding="10,0" VerticalOptions="CenterAndExpand">

        <input:AdvancedSlider MaxValue="5000" MinValue="50" StepValue="50" ValuePrefix="Price:" ValueSuffix="€" Title="Choose Budget:"/>

    </StackLayout>

</ContentPage>

Xamarin Forms Slider Sticky Label

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 ?

Buy Me A Coffee

Your coffee keeps me awake while developing projects like this. πŸ‘β˜•


More Repositories

1

UraniumUI

Uranium is a Free & Open-Source UI Kit for MAUI.
C#
561
star
2

AutoFilterer

AutoFilterer is a mini filtering framework library for dotnet. The main purpose of the library is to generate LINQ expressions for Entities over DTOs automatically. The first aim is to be compatible with Open API 3.0 Specifications
C#
433
star
3

Xamarin.Forms.Contacts

Read Contacts Data on iOS and Android
C#
58
star
4

DotNurseInjector

Simple, lightweight & useful Dependency Injector for dotnet.
C#
55
star
5

TreeView.Maui

A simple treeview control for MAUI
C#
36
star
6

Xamarin.Forms.Plainer

This library removes all visual effects from controls and makes them easy to style from portable layer instead of writing custom renderers always.
C#
33
star
7

Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material

A simple material theme for ABP Framework
C#
23
star
8

AbpDevTools

A set of tools to make development with ABP easier.
C#
22
star
9

MarkdownDocumenting

AspNetCore Markdown Documenting
C#
20
star
10

Xamarin-Forms-Material-Cards

Material Design in Xamarin Forms
C#
18
star
11

Mastering-at-Source-Generators

Mastering at Source Generators example
C#
17
star
12

Modularity.AspNetCore

This library allows to develop plugin-based AspNetCore project development.
C#
14
star
13

OneSignal-PushNotification-from-Asp.NET-Web-API

Sends push notifications to specific mobile devices/device via OneSignal web API.
C#
13
star
14

Xamarin.Forms.MaterialKit

Componenets pack from Material.io for Xamarin Forms
C#
11
star
15

XamarinForms.PageBuilder

Xamarin forms pages can be created easily on your phone! Isn't it awesome ?
C#
10
star
16

Xamarin.Forms.DialogKit

Plugin Coming Soon... | Custom dialog types for different inputs like Color, string, number, radio buttons, checkboxes
C#
8
star
17

Xamarin.Forms.StateManager

A simple UI state manager for Xamarin Forms
C#
7
star
18

dotnetconf2023-maui

#dotnetconf2023 - Reactive Programming with .NET MAUI
C#
7
star
19

MyBook

A simple solution for writing a book with markdown and css styling option.
HTML
5
star
20

AbpCommunityTalks-2022.5

ABP Community Talks Demo
C#
5
star
21

abp-autofilterer-sample

A demonstrate about using AutoFilterer with ABP
C#
5
star
22

LogicalImageResizeAndCrop

Best result for cropping and resizing images
C#
4
star
23

ABP-dotnet-template

dotnet template version of ABP Framework
C#
4
star
24

enisn

Profile presentation
4
star
25

DotRealDb

A real-time database for ASpNetCore Backend which is powered with SignalR.
C#
3
star
26

notebook

This repository includes interactive notebook samples of enisn
3
star
27

Xamarin.Forms.SavableObject

SaveableObject Plugin Source Codes
C#
3
star
28

Plugin.BottomSheet

Bottom Sheet implementation for Xamarin Forms
C#
3
star
29

presentations

Presentations that I've done so far in public events
3
star
30

docker-development-environments

Quickly Set-up your development environment with docker
1
star
31

XamarinFormsColorPicker

Easily pick color in xamarin forms applications.
C#
1
star
32

Components.Mailer

Send emails with C# class libray in any platform
C#
1
star
33

TecoRP_GTMP

Offical TecoRP GTA 5 - GT:MP Server Files
C#
1
star
34

AutoAdminPanel

Automaticly provides CRUD for all tables from DBContext.
JavaScript
1
star
35

MauiApp7

Bug reproduction repository
C#
1
star
36

abp-blazor-wasm-to-server

This is a simple demo for how to convert blazor wasm to server.
C#
1
star
37

Blazorius.Charts

Charts implementations for blazor
C#
1
star
38

Blazorius.Toast

A Generic Toast Implementation for Blazor. You can choose a toast implementation as your wish.
C#
1
star
39

LoadingButton

Xamarin Forms animated button for loading proccesses. You can start animation and stop, when you stop a done icon will be shown which you set before
C#
1
star