NavigableSymbolSelector - hide root symbols combo box

SyntaxEditor .NET Languages Add-on for Silverlight Forum

Posted 12 years ago by Dominic Bush
Version: 12.2.0140
Avatar

Hi,

Is it possible to hide the root symbols combo box of the NavigableSymbolSelector, so that we can show just the member symbols combo box?

We are autogenerating the class name for our code and supplying this via the Header property and so it is hidden from the user. Displaying it would be confusing but being able to navigate around the members would be useful.

Regards,

Dom.

Comments (7)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Dom,

Sorry but not right now unless you retemplate it.  We do have a property AreMemberSymbolsSupported that hides the members one but don't have one for root symbols.  We have a TODO list item to add an option for that as well and will mark down your request with it.


Actipro Software Support

Posted 12 years ago by Dominic Bush
Avatar

Sorry for the delay in replying. 

How difficult would it be to retemplate it and would it be possible to do this without Blend? Any pointers would be useful.

Thanks for adding a TODO on this.

Thanks,

Dom.

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Dom,

Since you own Silverlight Studio you should be able to download the default styles/templates from your account.  Just look in the SyntaxEditor XAML files there for the default style of this control.  You can see what we do for visual state that triggers from the AreMemberSymbolsSupported property.  You'd just want to clone and simplify the template to only keep the member one visible.  Then give that template an x:Key, put it in your Application.Resources, and reference it as the template from your control instance.


Actipro Software Support

Posted 12 years ago by Dominic Bush
Avatar

Thanks for the pointers. I will give it a try.

Answer - Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Dom,

We've added a new AreRootSymbolsSupported property for the next maintenance release.


Actipro Software Support

Posted 12 years ago by Dominic Bush
Avatar

That is really good news. Do you have an ETA for that release?

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Dom,

Not yet, we are still collecting updates for it.


Actipro Software Support

The latest build of this product (v18.1 build 0233) was released 4 years ago, which was after the last post in this thread.