Unable to resolve 'Instance' - Intellisense / Compiler warns since it doesn't know that entity
https://github.com/AvaloniaInside/Shell/blame/10d6d8c159ea76e2ade707c76c6a6a9bf3efa642/src/Example/ShellExample/ShellExample/Views/MainTabControl.axaml#L16
https://github.com/AvaloniaInside/Shell/blame/10d6d8c159ea76e2ade707c76c6a6a9bf3efa642/src/Example/ShellExample/ShellExample/Views/MainTabControl.axaml#L21
https://github.com/AvaloniaInside/Shell/blame/10d6d8c159ea76e2ade707c76c6a6a9bf3efa642/src/Example/ShellExample/ShellExample/Views/MainTabControl.axaml#L30
Please, help! :(
Hello,
By adding data type to the data template you can partially solve this issue.
The type of Instance is object and basically it is the page already loaded. To have icon, i added a property of icon to each page. So in case to have avoid error on Icon too, in your app you can define a base class for your main page tabs and use the base type in your tab style and use it inside the template.