<div 
    class="item"
     ondragover="event.preventDefault();"
     draggable="true"
     @ondragstart="@OnDragStart"
     @ondrop="@OnDrop"
     @ondragenter="@OnDragEnter"
     @ondragleave="@OnDragLeave">

    @if (Item != null)
    {
        <div style="position:relative">
            <img src="data:image/png;base64, @(Item.ImageBase64)" title="@Item.DisplayName" alt="@Item.DisplayName" style="min-width: 64px; max-width: 64px" />
            @if (Item.Num > 0)
            {
                <div class="number">@(
                Item.Num
                )</div>
            }
        </div>
    }
</div>