Access property of UserContorl in XAML
WCF and WF
2
Posts
2
Posters
0
Views
1
Watching
-
I have a UserControl with a property, let's say it's called MyProperty. So how can I set MyProperty in the XAML which defines the UserControl?
<UserControl x:Class="..." MyProperty="xyz">
doesnt work..
-
I have a UserControl with a property, let's say it's called MyProperty. So how can I set MyProperty in the XAML which defines the UserControl?
<UserControl x:Class="..." MyProperty="xyz">
doesnt work..
How have you defined it, and what do you mean it doesn't work? Do you mean it's not present, or that values aren't being updated?
Deja View - the feeling that you've seen this post before.