GroupBox in WPF can only contain one element?

前端 未结 4 983
梦毁少年i
梦毁少年i 2021-02-11 12:15

It seem that GroupBox can only contain one element, if I place more than one it\'s won\'t go inside(or get deleted in blend).

Is this by design or am I doing something w

4条回答
  •  半阙折子戏
    2021-02-11 12:38

    Well the real answer is because groupbox inherits from HeaderedContentControl

    Take a look here MSDN

提交回复
热议问题