Changing style of CollapsedRegionQuickInfoProvider popup

SyntaxEditor for WPF Forum

Posted 13 years ago by Martin - Blaise - Statistics Netherlands
Version: 10.2.0533
Avatar
In order to change the style of the screentip of the CollapsedRegionQuickInfoProvider i had to copy this class. Maybe you can add a virtual method in the CollapsedRegionQuickInfoProvider so we just override this with our own content control?

Something like this?

                session.Content = this.GetSessionContent(text);

                // Open the session
                session.Open(view, snapshotRange.TextRange);
                return true;
            }
            return false;
        }
        public virtual object GetSessionContent(string text) {
            return new StatNeth.Blaise.IDE.Shared.Controls.ToolTipContent(text);
       }

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Martin,

Ok, we've added a GetContent(TextSnapshotRange snapshotRange) method to the next maintenance release that you can override.


Actipro Software Support

The latest build of this product (v24.1.2) was released 25 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.