mirror of
https://github.com/ckaczor/ChrisKaczor.Wpf.Windows.CategoryWindow.git
synced 2026-01-13 17:22:32 -05:00
Initial commit
This commit is contained in:
27
CategoryPanelBase.cs
Normal file
27
CategoryPanelBase.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ChrisKaczor.Wpf.Windows;
|
||||
|
||||
public class CategoryPanelBase : UserControl
|
||||
{
|
||||
protected Window? ParentWindow;
|
||||
|
||||
protected CategoryPanelBase()
|
||||
{
|
||||
}
|
||||
|
||||
public virtual string? CategoryName => null;
|
||||
|
||||
protected bool HasLoaded { get; private set; }
|
||||
|
||||
public virtual void LoadPanel(Window parentWindow)
|
||||
{
|
||||
ParentWindow = parentWindow;
|
||||
}
|
||||
|
||||
protected void MarkLoaded()
|
||||
{
|
||||
HasLoaded = true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user