Closed hjrb closed 4 months ago
I use Nothing will be displayed.
<UserControl xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:MyAssembly;assembly=MyAssembly" xmlns:md="https://github.com/whistyun/Markdown.Avalonia" x:Class="HowToUse.WriteMarkdownInXaml"> <UserControl.DataContext> <local:UseBindingViewModel/> </UserControl.DataContext>
does not work
local:UseBindingViewModel
can not be resolved.
It does actually work. The
<UserControl.DataContext> <local:UseBindingViewModel/> </UserControl.DataContext>
seems to be not required.
I use
Nothing will be displayed.
does not work
can not be resolved.