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

Closed
melmi opened this Issue Jan 18, 2014 · 4 comments

Comments

Projects
None yet
4 participants
@melmi

melmi commented Jan 18, 2014

Hello,

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?

@flagbug

This comment has been minimized.

Member

flagbug commented Jan 18, 2014

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

@melmi

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
something?


Reply to this email directly or view it on GitHubhttps://github.com//issues/957#issuecomment-32694629
.

@zeluisping

This comment has been minimized.

Contributor

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"/>
                </Expander>

And this was the result:
vs_expander

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.

@zeluisping

This comment has been minimized.

Contributor

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.

StackTrace
   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