Fix UserControl Interaction
This commit is contained in:
		@@ -1,3 +1,4 @@
 | 
			
		||||
using System.ComponentModel.DataAnnotations;
 | 
			
		||||
using System.Reactive.Disposables;
 | 
			
		||||
using Avalonia;
 | 
			
		||||
using Avalonia.Controls;
 | 
			
		||||
@@ -12,13 +13,9 @@ public partial class BuColView : ReactiveUserControl<BuColViewModel>
 | 
			
		||||
{
 | 
			
		||||
    public BuColView()
 | 
			
		||||
    {
 | 
			
		||||
        /*
 | 
			
		||||
        this.WhenActivated(disposables => 
 | 
			
		||||
        {
 | 
			
		||||
        });
 | 
			
		||||
        */
 | 
			
		||||
 | 
			
		||||
        this.ViewModel = new BuColViewModel();
 | 
			
		||||
 | 
			
		||||
        InitializeComponent();
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -26,7 +26,8 @@
 | 
			
		||||
            </Grid>
 | 
			
		||||
        </TabItem>
 | 
			
		||||
        <TabItem Header="BuCol">
 | 
			
		||||
            <views:BuColView />
 | 
			
		||||
            <views:BuColView x:Name="BuColView" 
 | 
			
		||||
                DataContext="{Binding BuColViewModel}" />
 | 
			
		||||
        </TabItem>
 | 
			
		||||
    </TabControl>
 | 
			
		||||
</Window>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user