@Mtan3, you can't refer to the class directly. Create an instance of the class e.g. in the code behind file (.xaml.cs) and set the this.datacontext to be that class instance. With that you set the data to be available on the page scope. then write ... {binding MyProperty}... this binds the text property that's located in the root of datacontext (the instance of the MyClass class that you created)