Bind property to method
问题 I am developing a Windows 8 App in C# and using databinding <CollectionViewSource x:Name="departments" Source="{Binding Departments}" d:Source="{Binding AllGroups, Source={d:DesignInstance Type=data:Department, IsDesignTimeCreatable=True}}"/> I can bind the properties of this class to my UI, but the class also has this method I need public String getProfessorsList() I would like to be able to bind the method like this... <TextBlock Text="{Binding getHeads()}" FontSize="18" /> ...but obviously