mirror of
https://github.com/ckaczor/ChrisKaczor.Wpf.Windows.CategoryWindow.git
synced 2026-01-13 17:22:32 -05:00
27 lines
502 B
C#
27 lines
502 B
C#
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;
|
|
}
|
|
} |