Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Generic.xaml location

Generic.xaml location

Scheduled Pinned Locked Moved WPF
wpfquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mikey_H
    wrote on last edited by
    #1

    I have a folder structure like this....

    Project
    FolderA
    SubFolderAA
    Themes
    Generic.xaml
    ControlAA1.cs
    ControlAA2.cs
    SubFolderAB
    Themes
    Generic.xaml
    ControlAB1.cs
    FolderB
    FolderC

    I have recently added the folder SubFolderAB and control ControlAB1.cs with a Themes/Generic.xaml file. My control in ControlAB1.cs cannot locate the theme in the new Generic.xaml unless I move the Themes/Generic.xaml to the Project root folder (Project/Themes/Generic.xaml). The controls and styles in SubFolderAA are unaffected by any of this. What could be causing this behaviour?

    modified on Sunday, November 22, 2009 4:48 AM

    M 1 Reply Last reply
    0
    • M Mikey_H

      I have a folder structure like this....

      Project
      FolderA
      SubFolderAA
      Themes
      Generic.xaml
      ControlAA1.cs
      ControlAA2.cs
      SubFolderAB
      Themes
      Generic.xaml
      ControlAB1.cs
      FolderB
      FolderC

      I have recently added the folder SubFolderAB and control ControlAB1.cs with a Themes/Generic.xaml file. My control in ControlAB1.cs cannot locate the theme in the new Generic.xaml unless I move the Themes/Generic.xaml to the Project root folder (Project/Themes/Generic.xaml). The controls and styles in SubFolderAA are unaffected by any of this. What could be causing this behaviour?

      modified on Sunday, November 22, 2009 4:48 AM

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      What is so special about generic.xaml?[^]

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      M 1 Reply Last reply
      0
      • M Mark Salsbery

        What is so special about generic.xaml?[^]

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        M Offline
        M Offline
        Mikey_H
        wrote on last edited by
        #3

        Great link, Thank you :thumbsup:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups