mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 07:06:33 +01:00
42 lines
No EOL
572 B
C#
42 lines
No EOL
572 B
C#
using System;
|
|
using TINK.View.Map;
|
|
using TINK.ViewModel.MasterDetail;
|
|
|
|
namespace TINK.View
|
|
{
|
|
public class MainPageMenuItem
|
|
{
|
|
public MainPageMenuItem()
|
|
{
|
|
TargetType = typeof(MapPage);
|
|
}
|
|
|
|
public MainPageMenuItem(
|
|
int p_iId,
|
|
Type p_oTypeOfPage,
|
|
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;
|
|
}
|
|
}
|
|
} |