public class TestObject { private static string _sTitle; public static string Title { get; set; } }
public class TestViewModel : INotifyPropertyChanged { public TestViewModel() { } public event PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged ( string sProperty ) { if ( PropertyChanged != null ) { PropertyChanged ( this , new PropertyChangedEventArgs ( sProperty ) ); } } }
<Window x:Class="Test.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local ="clr-namespace:Test" Height="350" Width="525" Title="{Binding ???}" > <Grid> </Grid> </Window>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)