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. Read XAML file

Read XAML file

Scheduled Pinned Locked Moved WPF
wpfcsharpxml
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.
  • K Offline
    K Offline
    Krishnraj
    wrote on last edited by
    #1

    Hi all, I m new to WPF. I m developing one application in which i want to read XAML file and iterate thru each control element and find the name and value of that control and write to another xml file. So kindly need yr suggesion.. Thanks

    Krishnraj

    Y 1 Reply Last reply
    0
    • K Krishnraj

      Hi all, I m new to WPF. I m developing one application in which i want to read XAML file and iterate thru each control element and find the name and value of that control and write to another xml file. So kindly need yr suggesion.. Thanks

      Krishnraj

      Y Offline
      Y Offline
      yanairon
      wrote on last edited by
      #2

      the class XamlReader let's you read the root element from a xaml file (with Read method) then you could iterate thru the logical tree using LogicalTreeHelper Good Luck

      K 1 Reply Last reply
      0
      • Y yanairon

        the class XamlReader let's you read the root element from a xaml file (with Read method) then you could iterate thru the logical tree using LogicalTreeHelper Good Luck

        K Offline
        K Offline
        Krishnraj
        wrote on last edited by
        #3

        Hi yanairon, Thank u very much for replying :) OK Now i got the idea. Again Thanks

        Rana Krishnraj

        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