private void RefreshTooltip() { ToolTip tip = new ToolTip(); tip.Content = RosterUtils.GetTooltip(riTo); tip.Background = UiEnhancer.WhiteBrush; tip.BorderBrush = UiEnhancer.DarkGrayBrush; tip.BorderThickness = new Thickness(1); tip.Placement = System.Windows.Controls.Primitives.PlacementMode.Right; tip.PlacementTarget = PresenceGrid; PresenceGrid.ToolTip = tip; }