Set event bacground image without repeating
9 years ago.
How can I use event background image as one image (not million times repeated)? I'd like to have it on bottom-right place of event just once.
I used this code:
switch (ev.PaymentType)
{
case PaymentType.Cash:
{
e.BackgroundImage = "/Content/images/cash.png";
break;
}
case PaymentType.Invoice:
{
e.BackgroundImage = "/Content/images/invoice.png";
break;
}
case PaymentType.Groupon:
{
e.BackgroundImage = "/Content/images/groupon.png";
break;
}
}
DayPilot