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

    @if (Item != null)
        {
            if (NoDrop)
            {
                @if (!string.IsNullOrWhiteSpace(Item.ImageBase64))
                {
                    <img src="data:image/png;base64, @(Item.ImageBase64)" class="img-thumbnail" title="@Item.DisplayName" alt="@Item.DisplayName" style="min-width: 64px; max-width: 64px " />
                }
                else
                {
                    <img src="images/default.png" class="img-thumbnail" title="@Item.DisplayName" alt="@Item.DisplayName" style="max-width: 64px" />
                }
            }
            else
            {
                @Item.DisplayName
            }

        }
</div>