40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BS.Shared.DataContracts
|
|
{
|
|
public class PlatzhalterDC
|
|
{
|
|
private string _Platzhalter;
|
|
|
|
public string Bezeichnung { get; set; }
|
|
public string Platzhalter
|
|
{
|
|
get { return _Platzhalter; }
|
|
set
|
|
{
|
|
_Platzhalter = value;
|
|
if (String.IsNullOrEmpty(PlatzhalterID))
|
|
{
|
|
PlatzhalterID = value;
|
|
}
|
|
}
|
|
}
|
|
public string PlatzhalterID { get; set; }
|
|
public string FieldName { get; set; } // Angebundenes DB-Feld im Hintergrund
|
|
//public byte[] Icon { get; set; } // Bild, was in TreeView angezeigt wird
|
|
public string IconType { get; set; } // Typ, der über das geladene Bild ausgesucht wird
|
|
public List<PlatzhalterDC> Children { get; set; }
|
|
|
|
public string Format { get; set; } // z.B. "dd.MM.yyyy" bei Datumsfeldern
|
|
|
|
public override string ToString()
|
|
{
|
|
return Bezeichnung;
|
|
}
|
|
}
|
|
}
|