public void SetIcon(IconType iconType, ColorType colorType) { Content = GetIconPath(iconType, colorType); var iconTip = iconType.GetAttribute <TipTextAttribute>(); base.TipText = iconTip.TipText; }