sharee.bike-App/LastenradBayern/TINK/View/RootMasterDetail/MainPageMenuItem.cs

42 lines
788 B
C#
Raw Normal View History

2021-11-07 19:42:59 +01:00
using System;
using TINK.View.Map;
using TINK.ViewModel.MasterDetail;
namespace TINK.View
{
public class MainPageMenuItem
{
public MainPageMenuItem()
{
TargetType = typeof(MapPage);
}
public MainPageMenuItem(
2022-08-30 15:42:25 +02:00
int p_iId,
Type p_oTypeOfPage,
2021-11-07 19:42:59 +01:00
string p_strTitle = null)
{
TargetType = p_oTypeOfPage;
Id = p_iId;
Title = p_strTitle ?? Helper.GetCaption(p_oTypeOfPage);
}
public int Id
{
get;
private set;
}
public string Title
{
get;
private set;
}
public Type TargetType
{
get;
private set;
}
}
}