{"id":993,"date":"2018-04-20T23:23:34","date_gmt":"2018-04-20T20:23:34","guid":{"rendered":"http:\/\/enisnecipoglu.com\/?p=993"},"modified":"2018-04-20T23:32:51","modified_gmt":"2018-04-20T20:32:51","slug":"xamarin-forms-input-kit","status":"publish","type":"post","link":"https:\/\/enisnecipoglu.com\/en\/xamarin-forms-input-kit\/","title":{"rendered":"Xamarin Forms Input Kit"},"content":{"rendered":"<p><br \/>\n<img loading=\"lazy\" src=\"http:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/preview.png\" alt=\"Xamarin Forms CheckBox RadioButton etc.\" width=\"1280\" height=\"720\" class=\"aligncenter size-full wp-image-1013\" srcset=\"https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/preview.png 1280w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/preview-300x169.png 300w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/preview-768x432.png 768w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/preview-1024x576.png 1024w\" sizes=\"(max-width: 1280px) 100vw, 1280px\" \/><\/p>\n<hr \/>\n<p>\n<b>Nuget Package Available: <\/b> :  <a href=\"https:\/\/www.nuget.org\/packages\/Xamarin.Forms.InputKit\/\">Xamarin.Forms.InputKit<\/a>\n<\/p>\n<p>\n<b>Sample Project Available: <\/b> :  <a href=\"https:\/\/github.com\/enisn\/Xamarin.Forms.InputKit\">Sample.InputKit on GitHub<\/a>\n<\/p>\n<p>\n<b>Source Codes Available Too: <\/b> :  <a href=\"https:\/\/github.com\/enisn\/Xamarin.Forms.InputKit\/tree\/master\/InputKit\">Plugin.InputKit on GitHub<\/a>\n<\/p>\n<hr \/>\n<h2>Checkbox<\/h2>\n<p>As you know ther is no CheckBox in Xamarin Forms Library. You can use a custom renderer to use Native Checkbox in portable layer. This CheckBox is not a native one, It&#8217;s created in Xamarin Forms Portable layer.<\/p>\n<h4>SAMPLE:<\/h4>\n<div class=\"codecolorer-container csharp default\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><div class=\"csharp codecolorer\"><span class=\"sy0\">&lt;?<\/span>xml version<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;1.0&quot;<\/span> encoding<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;utf-8&quot;<\/span> <span class=\"sy0\">?&gt;<\/span><br \/>\n<span class=\"sy0\">&lt;<\/span>ContentPage xmlns<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;http:\/\/xamarin.com\/schemas\/2014\/forms&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns<span class=\"sy0\">:<\/span>x<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns<span class=\"sy0\">:<\/span>local<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;clr-namespace:Sample.InputKit&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns<span class=\"sy0\">:<\/span>input<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;x<span class=\"sy0\">:<\/span><span class=\"kw4\">Class<\/span><span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Sample.InputKit.MainPage&quot;<\/span><span class=\"sy0\">&gt;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sy0\">&lt;<\/span>StackLayout Spacing<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;12&quot;<\/span> Padding<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;30,0&quot;<\/span><span class=\"sy0\">&gt;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sy0\">&lt;<\/span>input<span class=\"sy0\">:<\/span>CheckBox Text<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Option 1&quot;<\/span> Type<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Box&quot;<\/span> <span class=\"sy0\">\/&gt;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sy0\">&lt;<\/span>input<span class=\"sy0\">:<\/span>CheckBox Text<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Hello World I'm Option 2&quot;<\/span> Type<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Check&quot;<\/span><span class=\"sy0\">\/&gt;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sy0\">&lt;<\/span>input<span class=\"sy0\">:<\/span>CheckBox Text<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Consetetur eum kasd eos dolore Option 3&quot;<\/span> Type<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Cross&quot;<\/span><span class=\"sy0\">\/&gt;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sy0\">&lt;<\/span>input<span class=\"sy0\">:<\/span>CheckBox Text<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Sea sed justo&quot;<\/span> Type<span class=\"sy0\">=<\/span><span class=\"st0\">&quot;Star&quot;<\/span><span class=\"sy0\">\/&gt;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sy0\">&lt;\/<\/span>StackLayout<span class=\"sy0\">&gt;<\/span><br \/>\n<span class=\"sy0\">&lt;\/<\/span>ContentPage<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p><img loading=\"lazy\" src=\"http:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsCheckbox-169x300.png\" alt=\"Xamarin Forms CheckBox Input Kit Enis Necipoglu\" width=\"270\" height=\"480\" class=\"aligncenter size-medium wp-image-996\" srcset=\"https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsCheckbox-169x300.png 169w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsCheckbox-768x1365.png 768w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsCheckbox-576x1024.png 576w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsCheckbox.png 1080w\" sizes=\"(max-width: 270px) 100vw, 270px\" \/><\/p>\n<h4>PROPERTIES:<\/h4>\n<li><strong>CheckChanged:<\/strong> <em>(Event)<\/em> Invokes when check changed.<\/li>\n<li><strong>CheckChangedCommand:<\/strong> <em>(Command)<\/em> Bindable Command, executed when check changed.<\/li>\n<li><strong>Key:<\/strong> <em>(int)<\/em> A key you can set to define checkboxes as ID.<\/li>\n<li><strong>Text:<\/strong> <em>(string)<\/em> Text to display description<\/li>\n<li><strong>IsChecked:<\/strong> <em>(bool)<\/em> Checkbox checked situation. Works TwoWay Binding as default.<\/li>\n<li><strong>Color:<\/strong> <em>(Color)<\/em> Color of selected check.<\/li>\n<li><strong>TextColor:<\/strong> <em>(Color)<\/em> Color of description text.<\/li>\n<li><strong>Type:<\/strong> <em>(CheckType)<\/em> Type of checkbox checked style. (Check,Cross,Star,Box etc.)<\/li>\n<hr \/>\n<h2>RadioButon<\/h2>\n<p>Radio Buttons should use inside a <strong>RadioButtonGroupView<\/strong>. If you want this view will return you selected radio button. But you can handle it one by one too. <\/p>\n<h4>SAMPLE:<\/h4>\n<div class=\"codecolorer-container xml default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"xml codecolorer\"><span class=\"sc3\"><span class=\"re1\">&lt;?xml<\/span> <span class=\"re0\">version<\/span>=<span class=\"st0\">&quot;1.0&quot;<\/span> <span class=\"re0\">encoding<\/span>=<span class=\"st0\">&quot;utf-8&quot;<\/span> <span class=\"re2\">?&gt;<\/span><\/span><br \/>\n<span class=\"sc3\"><span class=\"re1\">&lt;ContentPage<\/span> <span class=\"re0\">xmlns<\/span>=<span class=\"st0\">&quot;http:\/\/xamarin.com\/schemas\/2014\/forms&quot;<\/span><\/span><br \/>\n<span class=\"sc3\"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"re0\">xmlns:x<\/span>=<span class=\"st0\">&quot;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&quot;<\/span><\/span><br \/>\n<span class=\"sc3\"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"re0\">xmlns:local<\/span>=<span class=\"st0\">&quot;clr-namespace:Sample.InputKit&quot;<\/span><\/span><br \/>\n<span class=\"sc3\"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"re0\">xmlns:input<\/span>=<span class=\"st0\">&quot;clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit&quot;<\/span><\/span><br \/>\n<span class=\"sc3\"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"re0\">x:Class<\/span>=<span class=\"st0\">&quot;Sample.InputKit.MainPage&quot;<\/span><span class=\"re2\">&gt;<\/span><\/span><br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;StackLayout<\/span> <span class=\"re0\">Spacing<\/span>=<span class=\"st0\">&quot;12&quot;<\/span> <span class=\"re0\">Padding<\/span>=<span class=\"st0\">&quot;30,0&quot;<\/span><span class=\"re2\">&gt;<\/span><\/span><br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;input:RadioButtonGroupView<span class=\"re2\">&gt;<\/span><\/span><\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;input:RadioButton<\/span> <span class=\"re0\">Text<\/span>=<span class=\"st0\">&quot;Option 1&quot;<\/span> <span class=\"re2\">\/&gt;<\/span><\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;input:RadioButton<\/span> <span class=\"re0\">Text<\/span>=<span class=\"st0\">&quot;Option 2&quot;<\/span> <span class=\"re2\">\/&gt;<\/span><\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;input:RadioButton<\/span> <span class=\"re0\">Text<\/span>=<span class=\"st0\">&quot;Option 3&quot;<\/span> <span class=\"re2\">\/&gt;<\/span><\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;input:RadioButton<\/span> <span class=\"re0\">Text<\/span>=<span class=\"st0\">&quot;Option 4&quot;<\/span> <span class=\"re2\">\/&gt;<\/span><\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;\/input:RadioButtonGroupView<span class=\"re2\">&gt;<\/span><\/span><\/span><br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sc3\"><span class=\"re1\">&lt;\/StackLayout<span class=\"re2\">&gt;<\/span><\/span><\/span><br \/>\n<br \/>\n<span class=\"sc3\"><span class=\"re1\">&lt;\/ContentPage<span class=\"re2\">&gt;<\/span><\/span><\/span><\/div><\/div>\n<p><img loading=\"lazy\" src=\"http:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsRadioButton-169x300.png\" alt=\"Xamarin Forms Radio Button Input Kit Enis Necipo\u011flu\" width=\"270\" height=\"480\" class=\"aligncenter size-medium wp-image-1001\" srcset=\"https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsRadioButton-169x300.png 169w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsRadioButton-768x1365.png 768w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsRadioButton-576x1024.png 576w, https:\/\/enisnecipoglu.com\/wp-content\/uploads\/2018\/04\/XamarinFormsRadioButton.png 1080w\" sizes=\"(max-width: 270px) 100vw, 270px\" \/><\/p>\n<h4>PROPERTIES:<\/h4>\n<h5>RadioButtonGroupView<\/h5>\n<li><strong>SelectedIndex:<\/strong> <em>(int)<\/em> Gets or Sets selected radio button inside itself by index<\/li>\n<li><strong>SelectedItem:<\/strong> <em>(object)<\/em> Gets or Sets selected radio button inside itself by Value<\/li>\n<h5>RadioButton<\/h5>\n<li><strong>Clicked:<\/strong> <em>(event)<\/em> Invokes when clikced<\/li>\n<li><strong>ClickCommand:<\/strong> <em>(int)<\/em> Bindable Command, Executes when clicked<\/li>\n<li><strong>Value:<\/strong> <em>(object)<\/em> A value keeps inside and groupview returns that value as SelectedItem<\/li>\n<li><strong>IsChecked:<\/strong> <em>(bool)<\/em> Gets or Sets that radio button selected<\/li>\n<li><strong>Text:<\/strong> <em>(string)<\/em> Text to display near of Radio Button<\/li>\n<li><strong>FontSize:<\/strong> <em>(double)<\/em> Fontsize of Text<\/li>\n<li><strong>Color:<\/strong> <em>(Color)<\/em> Color of selected radio button dot<\/li>\n<li><strong>TextColor:<\/strong> <em>(Color)<\/em> Color of Text<\/li>\n<hr \/>\n<h2>Advanced Slider<\/h2>\n<p>Xamarin Forms Slider works a Sticky label on it. Wonderful experience for your users.<\/p>\n<h4>SAMPLE:<\/h4>\n<div class=\"codecolorer-container xml default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"xml codecolorer\"><span class=\"re1\">&lt;?xml<\/span> <span class=\"re0\">version<\/span>=<span class=\"st0\">&quot;1.0&quot;<\/span> <span class=\"re0\">encoding<\/span>=<span class=\"st0\">&quot;utf-8&quot;<\/span> <span class=\"re2\">?&gt;<\/span><br \/>\n<span class=\"re1\">&lt;ContentPage<\/span> <span class=\"re0\">xmlns<\/span>=<span class=\"st0\">&quot;http:\/\/xamarin.com\/schemas\/2014\/forms&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">xmlns:x<\/span>=<span class=\"st0\">&quot;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">xmlns:local<\/span>=<span class=\"st0\">&quot;clr-namespace:Sample.InputKit&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">xmlns:input<\/span>=<span class=\"st0\">&quot;clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">x:Class<\/span>=<span class=\"st0\">&quot;Sample.InputKit.MainPage&quot;<\/span><span class=\"re2\">&gt;<\/span><br \/>\n<br \/>\n&nbsp; &nbsp; <span class=\"re1\">&lt;StackLayout<\/span> <span class=\"re0\">Spacing<\/span>=<span class=\"st0\">&quot;12&quot;<\/span> <span class=\"re0\">Padding<\/span>=<span class=\"st0\">&quot;10,0&quot;<\/span> <span class=\"re0\">VerticalOptions<\/span>=<span class=\"st0\">&quot;CenterAndExpand&quot;<\/span><span class=\"re2\">&gt;<\/span><br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"re1\">&lt;input:AdvancedSlider<\/span> <span class=\"re0\">MaxValue<\/span>=<span class=\"st0\">&quot;5000&quot;<\/span> <span class=\"re0\">MinValue<\/span>=<span class=\"st0\">&quot;50&quot;<\/span> <span class=\"re0\">StepValue<\/span>=<span class=\"st0\">&quot;50&quot;<\/span> <span class=\"re0\">ValuePrefix<\/span>=<span class=\"st0\">&quot;Price:&quot;<\/span> <span class=\"re0\">ValueSuffix<\/span>=<span class=\"st0\">&quot;\u20ac&quot;<\/span> <span class=\"re0\">Title<\/span>=<span class=\"st0\">&quot;Choose Budget:&quot;<\/span><span class=\"re2\">\/&gt;<\/span><br \/>\n<br \/>\n&nbsp; &nbsp; <span class=\"re1\">&lt;\/StackLayout<span class=\"re2\">&gt;<\/span><\/span><br \/>\n<br \/>\n<span class=\"re1\">&lt;\/ContentPage<span class=\"re2\">&gt;<\/span><\/span><\/div><\/div>\n<p><a href=\"https:\/\/media.giphy.com\/media\/BoIPfRefA0Q9AtJ6mQ\/giphy.gif\"><img loading=\"lazy\" src=\"https:\/\/media.giphy.com\/media\/BoIPfRefA0Q9AtJ6mQ\/giphy.gif\" width=\"270\" height=\"480\" alt=\"Xamarin Forms Slider Sticky Label\" class=\"aligncenter size-medium\" \/><\/a><\/p>\n<h4>PROPERTIES:<\/h4>\n<li><strong>Value:<\/strong> <em>(double)<\/em> Current Selected Value, (this can be used TwoWayBinding)<\/li>\n<li><strong>Title:<\/strong> <em>(string)<\/em> Title of slider<\/li>\n<li><strong>ValueSuffix:<\/strong> <em>(string)<\/em> Suffix to be displayed near Value on Floating Label<\/li>\n<li><strong>ValuePrefix:<\/strong> <em>(string)<\/em> Prefix to be displayed near Value on Floating Label<\/li>\n<li><strong>MinValue:<\/strong> <em>(double)<\/em> Sliders&#8217; minimum value<\/li>\n<li><strong>MaxValue:<\/strong> <em>(double)<\/em> Sliders&#8217; maximum value<\/li>\n<li><strong>MaxValue:<\/strong> <em>(double)<\/em> Sliders&#8217; increment value<\/li>\n<li><strong>TextColor:<\/strong> <em>(Color)<\/em> Color of Texts<\/li>\n<li><strong>DisplayMinMaxValue:<\/strong> <em>(bool)<\/em> Visibility of Minimum and Maximum value<\/li>\n<hr \/>\n<h2>SelectionView<\/h2>\n<p>Presents options to user to choose. This view didn&#8217;t created to static usage. You should Bind a model List as ItemSource, or if you don&#8217;t use MVVM you can set in page&#8217;s cs file like below. (You can override ToString method to fix display value or I&#8217;ll add displayMember property soon.)<\/p>\n<h4>SAMPLE:<\/h4>\n<div class=\"codecolorer-container xml default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"xml codecolorer\"><span class=\"re1\">&lt;?xml<\/span> <span class=\"re0\">version<\/span>=<span class=\"st0\">&quot;1.0&quot;<\/span> <span class=\"re0\">encoding<\/span>=<span class=\"st0\">&quot;utf-8&quot;<\/span> <span class=\"re2\">?&gt;<\/span><br \/>\n<span class=\"re1\">&lt;ContentPage<\/span> <span class=\"re0\">xmlns<\/span>=<span class=\"st0\">&quot;http:\/\/xamarin.com\/schemas\/2014\/forms&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">xmlns:x<\/span>=<span class=\"st0\">&quot;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">xmlns:local<\/span>=<span class=\"st0\">&quot;clr-namespace:Sample.InputKit&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">xmlns:input<\/span>=<span class=\"st0\">&quot;clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class=\"re0\">x:Class<\/span>=<span class=\"st0\">&quot;Sample.InputKit.MainPage&quot;<\/span><span class=\"re2\">&gt;<\/span><br \/>\n<br \/>\n&nbsp; &nbsp; <span class=\"re1\">&lt;StackLayout<\/span> <span class=\"re0\">Spacing<\/span>=<span class=\"st0\">&quot;12&quot;<\/span> <span class=\"re0\">Padding<\/span>=<span class=\"st0\">&quot;10,0&quot;<\/span> <span class=\"re0\">VerticalOptions<\/span>=<span class=\"st0\">&quot;CenterAndExpand&quot;<\/span><span class=\"re2\">&gt;<\/span><br \/>\n<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"re1\">&lt;input:SelectionView<\/span> <span class=\"re0\">x:Name<\/span>=<span class=\"st0\">&quot;selectionView&quot;<\/span> <span class=\"re2\">\/&gt;<\/span><br \/>\n<br \/>\n&nbsp; &nbsp; <span class=\"re1\">&lt;\/StackLayout<span class=\"re2\">&gt;<\/span><\/span><br \/>\n<span class=\"re1\">&lt;\/ContentPage<span class=\"re2\">&gt;<\/span><\/span><\/div><\/div>\n<div class=\"codecolorer-container csharp default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"csharp codecolorer\"><span class=\"kw1\">public<\/span> <span class=\"kw1\">partial<\/span> <span class=\"kw4\">class<\/span> MainPage <span class=\"sy0\">:<\/span> ContentPage<br \/>\n&nbsp; &nbsp; <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">public<\/span> MainPage<span class=\"br0\">&#40;<\/span><span class=\"br0\">&#41;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; InitializeComponent<span class=\"br0\">&#40;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; selectionView<span class=\"sy0\">.<\/span><span class=\"me1\">ItemSource<\/span> <span class=\"sy0\">=<\/span> <span class=\"kw3\">new<\/span><span class=\"br0\">&#91;<\/span><span class=\"br0\">&#93;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"st0\">&quot;Option 1&quot;<\/span>,<span class=\"st0\">&quot;Option 2&quot;<\/span>,<span class=\"st0\">&quot;Option 3&quot;<\/span>,<span class=\"st0\">&quot;Option 4&quot;<\/span>,<span class=\"st0\">&quot;Option 5&quot;<\/span>,<span class=\"st0\">&quot;Option 6&quot;<\/span>,<span class=\"st0\">&quot;Option 7&quot;<\/span>,<span class=\"st0\">&quot;Option 8&quot;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"br0\">&#125;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; <span class=\"br0\">&#125;<\/span><br \/>\n&nbsp; &nbsp; <span class=\"br0\">&#125;<\/span><\/div><\/div>\n<p><a href=\"https:\/\/media.giphy.com\/media\/KXtC6oNnOgnJhvYecy\/giphy.gif\"><img loading=\"lazy\" src=\"https:\/\/media.giphy.com\/media\/KXtC6oNnOgnJhvYecy\/giphy.gif\" width=\"270\" height=\"480\" alt=\"Xamarin Forms SelectionView Enis Necipoglu\" class=\"aligncenter size-medium\" \/><\/a><\/p>\n<h4>PROPERTIES:<\/h4>\n<li><strong>ItemSource:<\/strong> <em>(IList)<\/em> List of options<\/li>\n<li><strong>SelectedItem:<\/strong> <em>(object)<\/em> Selected Item from ItemSource<\/li>\n<li><strong>ColumnNumber:<\/strong> <em>(int)<\/em> Number of columng of this view<\/li>\n<p><\/p>\n<hr \/>\n<p>\n<b>Nuget Package Available: <\/b> :  <a href=\"https:\/\/www.nuget.org\/packages\/Xamarin.Forms.InputKit\/\"><img source=\"http:\/\/enisnecipoglu.com\/Plugins\/inputkit.png\" height=\"15\" \/>Xamarin.Forms.InputKit on NuGet<\/a>\n<\/p>\n<p>\n<b>Sample Project Available: <\/b> :  <a href=\"https:\/\/github.com\/enisn\/Xamarin.Forms.InputKit\">Sample.InputKit on GitHub<\/a>\n<\/p>\n<p>\n<b>Source Codes Available Too: <\/b> :  <a href=\"https:\/\/github.com\/enisn\/Xamarin.Forms.InputKit\/tree\/master\/InputKit\">Plugin.InputKit on GitHub<\/a>\n<\/p>\n<hr \/>\n<p><\/p>","protected":false},"excerpt":{"rendered":"Nuget Package Available: : Xamarin.Forms.InputKit Sample Project Available: : Sample.InputKit on GitHub Source Codes Available Too: : Plugin.InputKit on GitHub Checkbox As you know ther is no CheckBox in Xamarin Forms Library. You can use a custom renderer to use Native Checkbox in portable layer. This CheckBox is not a native one, It&#8217;s created in Xamarin Forms Portable layer. SAMPLE: &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;ContentPage xmlns=&quot;http:\/\/xamarin.com\/schemas\/2014\/forms&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:x=&quot;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:local=&quot;clr-namespace:Sample.InputKit&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns:input=&quot;clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;x:Class=&quot;Sample.InputKit.MainPage&quot;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;StackLayout Spacing=&quot;12&quot; Padding=&quot;30,0&quot;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:CheckBox Text=&quot;Option 1&quot; Type=&quot;Box&quot; \/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:CheckBox Text=&quot;Hello World I&#8217;m Option 2&quot; Type=&quot;Check&quot;\/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:CheckBox Text=&quot;Consetetur eum kasd eos dolore Option 3&quot; Type=&quot;Cross&quot;\/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:CheckBox Text=&quot;Sea sed justo&quot; Type=&quot;Star&quot;\/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;\/StackLayout&gt; &lt;\/ContentPage&gt; PROPERTIES: CheckChanged: (Event) Invokes when check changed. CheckChangedCommand: (Command) Bindable Command, executed when check changed. Key: (int) A key you can set to define checkboxes as ID. Text: (string) Text to display description IsChecked: (bool) Checkbox checked situation. Works TwoWay Binding as default. Color: (Color) Color of selected check. TextColor: (Color) Color of description text. Type: (CheckType) Type of checkbox checked style. (Check,Cross,Star,Box etc.) RadioButon Radio Buttons should use inside a RadioButtonGroupView. If you want this view will return you selected radio button. But you can handle it one by one too. SAMPLE: &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;ContentPage xmlns=&quot;http:\/\/xamarin.com\/schemas\/2014\/forms&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xmlns:x=&quot;http:\/\/schemas.microsoft.com\/winfx\/2009\/xaml&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xmlns:local=&quot;clr-namespace:Sample.InputKit&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xmlns:input=&quot;clr-namespace:Plugin.InputKit.Shared.Controls;assembly=Plugin.InputKit&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x:Class=&quot;Sample.InputKit.MainPage&quot;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;StackLayout Spacing=&quot;12&quot; Padding=&quot;30,0&quot;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:RadioButtonGroupView&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:RadioButton Text=&quot;Option 1&quot; \/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:RadioButton Text=&quot;Option 2&quot; \/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:RadioButton Text=&quot;Option 3&quot; \/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input:RadioButton Text=&quot;Option 4&quot; \/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;\/input:RadioButtonGroupView&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;\/StackLayout&gt; &lt;\/ContentPage&gt; PROPERTIES: RadioButtonGroupView SelectedIndex: (int) Gets or Sets selected radio button inside itself by index SelectedItem: (object) Gets or Sets selected radio button inside itself by Value RadioButton Clicked: (event) Invokes when clikced ClickCommand: (int) Bindable Command, Executes when clicked Value: (object) ","protected":false},"author":1,"featured_media":1013,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20,15,6],"tags":[47,52,49,55,50,53,28,29,51,54],"_links":{"self":[{"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/posts\/993"}],"collection":[{"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/comments?post=993"}],"version-history":[{"count":19,"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/posts\/993\/revisions"}],"predecessor-version":[{"id":1015,"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/posts\/993\/revisions\/1015"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/media\/1013"}],"wp:attachment":[{"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/media?parent=993"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/categories?post=993"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enisnecipoglu.com\/en\/wp-json\/wp\/v2\/tags?post=993"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}