mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-11 05:52:19 +02:00
[PowerRename] Tweak UI and fix performance issues (#14365)
* Init * Update MainWindow.xaml * Add identation * Remove template selector * Vertical UI * Update PowerRenameUILib.vcxproj * Revert "Vertical UI" This reverts commitd0b3d264fb. * Revert "Update PowerRenameUILib.vcxproj" This reverts commitba18503db2. * Tweaks to margins * Updated tweaks * Update MainWindow.xaml * Wire counters * Improve perf: Constant O(1) find-item-by-id time instead of O(n) Co-authored-by: Laute <Niels.Laute@philips.com>
This commit is contained in:
@@ -2,13 +2,15 @@ namespace PowerRenameUILib
|
||||
{
|
||||
runtimeclass ExplorerItem : Windows.UI.Xaml.Data.INotifyPropertyChanged
|
||||
{
|
||||
ExplorerItem(Int32 id, String original, String renamed, Int32 type, Boolean checked);
|
||||
ExplorerItem();
|
||||
ExplorerItem(Int32 id, String original, String renamed, Int32 type, UInt32 depth, Boolean checked);
|
||||
Int32 Id { get; };
|
||||
String IdStr { get; };
|
||||
String Original;
|
||||
String Renamed;
|
||||
Double Indentation { get; };
|
||||
String ImagePath { get; };
|
||||
Int32 Type;
|
||||
Boolean Checked;
|
||||
Windows.Foundation.Collections.IObservableVector<ExplorerItem> Children;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user