How to add TabViewControl directly to xaml file?
See original GitHub issueI’m trying to add the TabViewControl directly to the xaml file like so:
<?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:CustomRenderer"
xmlns:tv="clr-namespace:Xam.Plugin.TabView;assembly=Xam.Plugin.TabView"
x:Class="CustomRenderer.TabViewPage">
but I’m getting this error:
/Users/user/Desktop/CustomRenderer/TabViewPage.xaml: Error: The given key 'Xamarin.Forms.Xaml.ElementNode' was not present in the dictionary. (CustomRenderer)
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
TabView Class - Windows App SDK
Open the WinUI 3 Gallery app and see the TabView in action. The WinUI 3 Gallery app includes interactive examples of most WinUI...
Read more >Getting Started with Xamarin Tabbed View (SfTabView)
This section explains how to create a tab view and configure it. The control can be configured entirely in C# code or by...
Read more >Lesson 1: Create Tab Items Manually | Mobile UI Controls
This lesson explains how to create a bottom tab navigation bar with the TabView view: The lesson result. The control displays manually added ......
Read more >Tab Control In WPF
In WPF, Tabs are very easy to implement. Create a new WPF Window, remove the default Grid tags, and add the following XAML:...
Read more >WinUI3 TabView XAML does not update the data binding ...
Now the default tab is initialized, I thought great! But whenever add or remove is clicked nothing happened. I started the Debugger, the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @rraallvv or @rjantz3 ,
Could you please explain how did you implement that?
I can’t get to use the control directly in the XAML file even using the code of the example rjant shared. I’m adding the nuget package but the XAML doesnt recognise the control.
@rjantz3 wow! thanks, it works beautifully.