mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-22 01:16:35 +08:00
feat: finish demo.
This commit is contained in:
@@ -30,6 +30,11 @@ public partial class FilesPageViewModel : ObservableObject
|
|||||||
Source.Items = [Root];
|
Source.Items = [Root];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
partial void OnSelectedPathChanged(string? value)
|
||||||
|
{
|
||||||
|
SetSelectedPath(value);
|
||||||
|
}
|
||||||
|
|
||||||
public FilesPageViewModel()
|
public FilesPageViewModel()
|
||||||
{
|
{
|
||||||
@@ -157,6 +162,7 @@ public partial class FilesPageViewModel : ObservableObject
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Source.Items = [Root];
|
||||||
Source.RowSelection!.SelectedIndex = index;
|
Source.RowSelection!.SelectedIndex = index;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user