Sign in to follow this  

WPF - Derived Property setting in Xaml

Recommended Posts

Given the following. How do I set MyString in Xaml?

namespace WpfApplication3
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public class MainWindow : Window
public string MyString
public MainWindow()

// -------------------------------------
<Window x:Class="WpfApplication3.MainWindow"

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this