I am using Caliburn.Micro in a WPF project with c#.
I wanted a way, like in android to find a "TextBlock" in a xaml view by it's "id" so that I can manipulate its properties.
I was thinking of doing something like this but for c#:
TextBlock textblock = (TextBlock ) myView.findViewById(R.id.myTextBlock);
so I can collapse and make it visible again.
<TextBlock x:Name="MyTextBlockId"
Text="Incorrect user credentials. Forgot password, click here"
Visibility="Collapsed"/>