@*   Xafari Framework version : 17.2.3011.1336   *@

@using DevExpress.ExpressApp.Utils
@using DevExpress.Persistent.Base.General

@{
	var a = (GridViewDataItemTemplateContainer)ViewData["Container"];
	
	var obj = a.Grid.GetRow(a.VisibleIndex) as ITreeNodeImageProvider;
	if (obj != null)
	{
		string imageName;
		obj.GetImage(out imageName);
		var imageInfo = ImageLoader.Instance.GetImageInfo(imageName);
		if (imageInfo.IsEmpty)
		{
			@: &nbsp;
		}
		else
		{
			@Html.Xafari().ImageInfo(imageInfo).GetHtml()
		}
	}
}

