mirror of
https://github.com/ckaczor/Common.Wpf.git
synced 2026-01-14 01:25:37 -05:00
Add generic category window to WPF library
This commit is contained in:
27
Windows/CategoryPanel.cs
Normal file
27
Windows/CategoryPanel.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace Common.Wpf.Windows
|
||||
{
|
||||
public class CategoryPanel : UserControl
|
||||
{
|
||||
private object Data { get; set; }
|
||||
|
||||
public virtual void LoadPanel(object data)
|
||||
{
|
||||
Data = data;
|
||||
}
|
||||
|
||||
public virtual bool ValidatePanel()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public virtual void SavePanel()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public virtual string CategoryName => null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user