Giter Club home page Giter Club logo

multipickerview's Introduction

MultiPickerView

Multi-column linkage pickerView based on c# (xamarin.forms)

The project only realized the iOS pickerview linkage effect

Effect

Multiple pickerview

Usage

This linkage effect refers to ios implementation, there are only three methods, they are Groupmodel.cs、 Pickerview.cs、Pickerviewrenderer. cs, which are very simple to use.

It contains all the properties of the native pickerView control.

<?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:MultiPickerView" 
             xmlns:pickerView="clr-namespace:MultiPickerView.extend;assembly=MultiPickerView"
             x:Class="MultiPickerView.MainPage">
    <StackLayout>
        <pickerView:PickerView
            Margin="15"
            Title="two columns"
            HorizontalOptions="FillAndExpand" 
            SelectedSource="{Binding TwoSource}">
        </pickerView:PickerView>
    </StackLayout>
</ContentPage>

multipickerview's People

Contributors

trimcode avatar

Stargazers

Deakin Tsang avatar

Watchers

James Cloos avatar

multipickerview's Issues

Issue when multipicker is initially displayed

In your multipicker sample app, when to view is first displayed, if you want to pick the first item in both sections, namely Enterprise and Alibaba, you have to first pick something else and then pick Alibaba.

I can't figure out how to either 1) Have this combination automatically "picked" at display time, or 2) Have so nothing is selected and you can just click on Alibaba without having to select something else first.

Can you suggest how to do this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.