Skip to content
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

Missing template part for Orc.Controls.DropDownButton (ShouldCreateStyleForwarders=false) #118

Open
1 of 6 tasks
lipchev opened this issue Sep 8, 2020 · 3 comments
Open
1 of 6 tasks
Assignees

Comments

@lipchev
Copy link

lipchev commented Sep 8, 2020

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

  • WPF
  • UWP
  • iOS
  • Android
  • .NET Standard
  • .NET Core

Component

Orc.Theming (4.0.2) / Orc.Controls.DropDownButton (4.0.8)

Version of Library

Orchestra.Examples.MahApps (6.0.4)

Version of OS(s) listed above with issue

Win 10, .net core 3.1

Steps to Reproduce

  1. Open the MahApps.Shell example from the Orchestra package
  2. Skip the call to StyleHelper.CreateStyleForwardersForDefaultStyles() by registering a NoForwardingThemingService (or simply commenting out this line)

Expected Behavior

(My guess):
The application should start with the implicit styles for all Orc.Controls (or there is a ResourceDictionary that can be imported for those)

Actual Behavior

[ERROR] [Orc.Controls.DropDownButton] [1] Can't find template part 'PART_Arrow'
Exception thrown: 'System.InvalidOperationException' in Orc.Controls.dll

I was able to fix the issue by manually setting the default style from Orc.Styles.DropDownButton

@GeertvanHorrik
Copy link
Member

@ceo1647 what do you think?

@stale
Copy link

stale bot commented Dec 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants