Hello,
I'm using custom content in the quickinfo and ParameterProvider to provide simple syntax and a description.
However, I would like an option in this content to provide some sort of Advanced expander, where they can click the advanced expander, and the full grammer for the statement could appear.
In the GetContent() function, I've done this so far and the expander appears, but doesn't actually expand.
var grid = new Grid();
grid.RowDefinitions.Add(new RowDefinition());
grid.RowDefinitions.Add(new RowDefinition());
var htmlContent = new ContentProvider(htmlSnippet.ToString()).GetContent() as UIElement;
grid.Children.Add(htmlContent);
Grid.SetRow(htmlContent, 0);
var expander = new Expander();
var stackPanel = new StackPanel();
stackPanel.Children.Add(new TextBlock() { Text = "my super sweet full description here." });
expander.Content = stackPanel;
expander.Header = "Advanced";
Grid.SetRow(expander, 1);
grid.Children.Add(expander);
return grid;
Any suggestions to make this work or any other way to provide advanced information to the user without using the signatures?
[Modified 3 years ago]