New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expander icon in VS theme #957

melmi opened this Issue Jan 18, 2014 · 4 comments


None yet
4 participants

melmi commented Jan 18, 2014


The icon of the Expander control in VS theme has exactly the color of the background and thus can not be seen. Can you please fix it?


This comment has been minimized.


flagbug commented Jan 18, 2014

Hm, I'm not finding an Expander referenced anywhere, am I missing something?


This comment has been minimized.

melmi commented Jan 19, 2014

I do not know if there is any style for Expander in that theme, but one can
might be setting the background color. If that background color is exactly
the same with the color of the Expander's icon, that icon disappears.

On Sun, Jan 19, 2014 at 1:37 AM, Dennis Daume notifications@github.comwrote:

Hm, I'm not finding an Expander referenced anywhere, am I missing

Reply to this email directly or view it on GitHub


This comment has been minimized.


zeluisping commented Jan 19, 2014

He is referring to the control Expander.
If you had an Expander to a window with the VS theme, it does not show up.

I added this to the VS themed window from the demo:

                <Expander IsExpanded="True">
                    <Grid Background="#FFE5E5E5" Height="100"/>

And this was the result:

Notice that you only see what is inside the Expander, as it has IsExpanded="True", otherwise you'd see nothing. You can still guess where to click to expand/collapse it.


This comment has been minimized.


zeluisping commented Jan 19, 2014

Also, I forgot to mention. When I add the Expander the designer reports this thrown exception:

XamlParseException: Prefix 'Controls' does not map to a namespace.

   at MS.Internal.Xaml.XamlContext.ResolveXamlType(String qName, Boolean skipVisibilityCheck)
   at MS.Internal.Xaml.Context.ObjectWriterContext.ServiceProvider_Resolve(String qName)
   at MS.Internal.Xaml.ServiceProviderContext.System.Windows.Markup.IXamlTypeResolver.Resolve(String qName)
   at System.Windows.PropertyPath.GetTypeFromName(String name, Object context)
   at System.Windows.PropertyPath.ResolvePropertyName(String name, Object item, Type ownerType, Object context, Boolean throwOnError)
   at System.Windows.PropertyPath.ResolvePathParts(ITypeDescriptorContext typeDescriptorContext)
   at System.Windows.PropertyPath.PrepareSourceValueInfo(ITypeDescriptorContext typeDescriptorContext)
   at System.Windows.PropertyPath..ctor(String path, ITypeDescriptorContext typeDescriptorContext)
   at System.Windows.PropertyPathConverter.ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, Object source)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateObjectWithTypeConverter(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateFromValue(ServiceProviderContext serviceContext, XamlValueConverter`1 ts, Object value, XamlMember property)
   at System.Xaml.XamlObjectWriter.Logic_CreateFromValue(ObjectWriterContext ctx, XamlValueConverter`1 typeConverter, Object value, XamlMember property, String targetName, IAddLineInfo lineInfo)

InnerException: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment