Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Using imported views in xaml

$
0
0

Hello,

I'm trying to create an autocomplete search bar using Forms.Labs' AutoCompleteView. But I'm always getting "Type AutoCompleteView not found in xmlns". The xaml and cs files use the same class name, i um "using" xamarin.forms.labs.controls and i can even create this view in the cs file, but not in xaml. What can i be doing wrong? :/

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="InfarmedPrototype.Views.MainPage"
             BindingContext = "viewModel"
             Title ="Infomed"
             BackgroundColor="Black">

    using Xamarin.Forms.Labs;
    using Xamarin.Forms.Labs.Controls;
    namespace InfarmedPrototype.Views
    {
        public partial class MainPage : ContentPage
        {
    ....

Thanks in advance.


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>