开发者

Problem adding a UserControl in a TabItem

I tried adding a UserControl to a TabItem in the following way:

<TabControl Margin="1">
        <TabItem Header="Control" >
        </TabItem>
        <TabItem Header="Tray" >
            <local:SettingView>
            </local:SettingView>
        </TabItem>
</T开发者_如何学CabControl>

It showed in the UI, but bindings appear to be evaluated while the DataContext of the UserControl is still null (Nothing). Why isn't this working?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜