Using a datatemplate for the TabItems in a tabControl

后端 未结 1 1276
花落未央
花落未央 2020-12-21 12:17

If I have a class called: GuiObject, and that class has a list of GuiObjects called: \"GuiObjects\".

Now say my window has a list of GuiObjects, which I use in the .

相关标签:
1条回答
  • 2020-12-21 12:57

    To provide a template for the contents of the pages of a TabControl, use the following properties:

    • ContentTemplate
    • ContentTemplateSelector

    The ItemTemplate/ItemTemplateSelector properties of a TabControl are used to define what the tab headers look like.

    0 讨论(0)
提交回复
热议问题