static void SetTextColor(IPresentableItem item, Element element) { if (element.Explicit) { item.RichText.SetForeColor(SystemColors.GrayText); } item.RichText.SetForeColor(SystemColors.GrayText, 0, element.GetTitlePrefix().Length); }
static void SetTextColor(resharper::JetBrains.CommonControls.IPresentableItem item, Element element) { if (element.IsExplicit) { item.RichText.SetForeColor(SystemColors.GrayText); } item.RichText.SetForeColor(SystemColors.GrayText, 0, element.GetTitlePrefix().Length); }