Hello, as mentioned in the title, I want to display an item of a comboBox in a textblock as a string. On the first image below you can see how it is currently displayed. The item of the comboBox is called "vegetarisch" and thats also what should only be displayed in the textblock.
Thats the recipe class with the categoryProperty:
Thats the recipe class with the categoryProperty:
RecipeClass:
namespace recipeBook.Classes
{
public class Recipe
{
[PrimaryKey, AutoIncrement]
public int ID { get; set; }
public string Name { get; set; }
public string Category { get; set; }
public string Preparation{ get; set; }
public string Ingredients { get; set; }
}
}