locked
C# Metro Application. Access control from code. RRS feed

  • Question

  • Hello.

    I'm writing a Metro app.
    At the next stage, it took me to turn to control properties of the code through his name. But IntelliSense fails.

    I apologize for the poor knowledge of the English language.
    Friday, December 6, 2013 7:25 PM

All replies

  • If you set an x:Name for the control in your Xaml then you should be able to refer to the control by name in the matching class for the page. If IntelliSense fails you may need to rebuild.

    Rather than manipulating the control directly you may want to databind its properties to properties in your code. See and Data binding and the XAML data binding sample 

    --Rob

    Friday, December 6, 2013 9:16 PM
    Moderator
  • If you set an x:Name for the control in your Xaml then you should be able to refer to the control by name in the matching class for the page. If IntelliSense fails you may need to rebuild.

    Yes, I use x:Name, but IntelliSense fails, and I can't to correct it by rebuilding.

    What can I do with this, without using data binding?

    Friday, December 6, 2013 10:20 PM