|
@@ -99,5 +99,34 @@ namespace YSAI.Manage.Windows
|
|
|
public ICommand AboutUs { get => new CommandX(() => { UserControl = UserControls["AboutUsTool"]; }); }
|
|
public ICommand AboutUs { get => new CommandX(() => { UserControl = UserControls["AboutUsTool"]; }); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
|
+
|
|
|
|
|
+ <TabItem IsSelected="True">
|
|
|
|
|
+ <TabItem.Header>
|
|
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
|
|
+ <Image Source="{DynamicResource Channel}" Style="{StaticResource ButtonImageStyle}"/>
|
|
|
|
|
+ <TextBlock Text="通道" Foreground="{DynamicResource Font.Content.Foreground}" />
|
|
|
|
|
+ </StackPanel>
|
|
|
|
|
+ </TabItem.Header>
|
|
|
|
|
+ <!--滚动条-->
|
|
|
|
|
+ <ScrollViewer Style="{StaticResource ScrollViewerStyle}" MaxHeight="616" VerticalScrollBarVisibility="Auto" >
|
|
|
|
|
+ <!--动态创建-->
|
|
|
|
|
+ <ContentControl Content="{Binding UserControl}" />
|
|
|
|
|
+ </ScrollViewer>
|
|
|
|
|
+ </TabItem>
|
|
|
|
|
+
|
|
|
|
|
+ */
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ /// <summary>
|
|
|
|
|
+ /// 加载多个页面
|
|
|
|
|
+ /// </summary>
|
|
|
|
|
+ public TabItem TabControlDataContext
|
|
|
|
|
+ {
|
|
|
|
|
+ get => GetProperty(() => TabControlDataContext);
|
|
|
|
|
+ set => SetProperty(() => TabControlDataContext, value);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|