Files
ChrisKaczor.Wpf.Windows.Cat…/CategoryPanelBase.cs
2024-09-29 20:42:32 -04:00

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;
}
}