![]() But how is this done if you have object only? public partial class HelloXamlPage In the code-behind file I can get the x:Name attribute if I do nameof(this.myLabelName). ![]() To make things more clear I want to post some code. How do I get the x:Name attribute as string in code from a object? I don't know the type at this stage. Now I want to work with unclassified items and therefore I use object as type. ![]() Views like Button, Entry, Label, Picker and so on can have a x:Name attribute.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |