UraniumUI
UraniumUI copied to clipboard
When adding a TabView getting an error
I am trying to add a tab inside my page. this is my code. I am getting this error. Please help me to fix this.
Error : System.Reflection.TargetInvocationException: 'Exception has been thrown by the target of an invocation.'
` <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="DriveMeSL.View.HomePage" xmlns:material="http://schemas.enisn-projects.io/dotnet/maui/uraniumui/material" xmlns:input="clr-namespace:InputKit.Shared.Controls;assembly=InputKit.Maui" xmlns:validation="clr-namespace:InputKit.Shared.Validations;assembly=InputKit.Maui" xmlns:m="clr-namespace:UraniumUI.Icons.MaterialSymbols;assembly=UraniumUI.Icons.MaterialSymbols"> <VerticalStackLayout> <Button Margin="0,10,0,0" x:Name="BtnNewJob" StyleClass="FilledButton" Text="Register Now" /> material:TabView
<material:TabItem Title="Tab One">
<material:TabItem.ContentTemplate>
<DataTemplate>
<Label Text="First Tab" />
</DataTemplate>
</material:TabItem.ContentTemplate>
</material:TabItem>
<material:TabItem Title="Tab Two">
<material:TabItem.ContentTemplate>
<DataTemplate>
<Label Text="Second Tab" />
</DataTemplate>
</material:TabItem.ContentTemplate>
</material:TabItem>
<material:TabItem Title="Tab Three">
<material:TabItem.ContentTemplate>
<DataTemplate>
<Label Text="Third Tab" />
</DataTemplate>
</material:TabItem.ContentTemplate>
</material:TabItem>
</material:TabView>
</VerticalStackLayout>
`