public static TooltipManager GetInstance() { if (instance == null) { instance = new TooltipManager(); } return(instance); }
public Tooltip(Element contents, Element targetElement) { _manager = TooltipManager.GetInstance(); _container = new Container(contents); _container.SetOrigin(AlignInternal.Center); _targetElement = targetElement; _container.SetTouchable(Touchable.Disabled); }