add:新设置
This commit is contained in:
@@ -250,6 +250,11 @@ namespace Ink_Canvas.Windows {
|
|||||||
public string _selectedSidebarItemName = "";
|
public string _selectedSidebarItemName = "";
|
||||||
public ObservableCollection<SidebarItem> SidebarItems = new ObservableCollection<SidebarItem>();
|
public ObservableCollection<SidebarItem> SidebarItems = new ObservableCollection<SidebarItem>();
|
||||||
|
|
||||||
|
public Grid[] SettingsPanes;
|
||||||
|
public ScrollViewer[] SettingsPaneScrollViewers;
|
||||||
|
public string[] SettingsPaneTitles;
|
||||||
|
public string[] SettingsPaneNames;
|
||||||
|
|
||||||
public void UpdateSidebarItemsSelection() {
|
public void UpdateSidebarItemsSelection() {
|
||||||
foreach (var si in SidebarItems) {
|
foreach (var si in SidebarItems) {
|
||||||
si.Selected = si.Name == _selectedSidebarItemName;
|
si.Selected = si.Name == _selectedSidebarItemName;
|
||||||
|
|||||||
Reference in New Issue
Block a user