protected void OnScroll()
        {
#if DEBUG
            Console.WriteLine("hit OnScroll");
#endif
            BPaintJsInterop.UpdateSVGPosition("PaintArea1", DotNetObjectReference.Create(this));
            StateHasChanged();
        }
 public void GetBoundingClientRect(string ElementID)
 {
     BPaintJsInterop.GetElementBoundingClientRect(ElementID, DotNetObjectReference.Create(this));
 }
 public void GetBoundingClientRect(string ElementID)
 {
     BPaintJsInterop.GetElementBoundingClientRect(ElementID, new DotNetObjectRef(this));
 }
 protected void OnScroll()
 {
     BPaintJsInterop.UpdateSVGPosition("PaintArea1");
 }