mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
[PowerRename] Show UI info if item cannot be renamed (#19934)
* PowerRename cleanup * Extract ExplorerItem as a UserControl * Add VisualStateManager * UI fixes * Implement error UI logic Highlight items that couldn't be renamed and add error message flyout * Update src/modules/powerrename/lib/PowerRenameManager.cpp Address PR comment Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com> * Update src/modules/powerrename/lib/PowerRenameManager.cpp Address PR comment Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com> * Folder max path is 247 * Implement State() properly Co-authored-by: Niels Laute <niels.laute@live.nl> Co-authored-by: Jay <65828559+Jay-o-Way@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace PowerRenameUI
|
||||
{
|
||||
runtimeclass ExplorerItem : Microsoft.UI.Xaml.Data.INotifyPropertyChanged
|
||||
[default_interface] runtimeclass ExplorerItem : Microsoft.UI.Xaml.Controls.UserControl, Microsoft.UI.Xaml.Data.INotifyPropertyChanged
|
||||
{
|
||||
ExplorerItem();
|
||||
ExplorerItem(Int32 id, String original, String renamed, Int32 type, UInt32 depth, Boolean checked);
|
||||
@@ -12,6 +12,6 @@ namespace PowerRenameUI
|
||||
String ImagePath { get; };
|
||||
Int32 Type;
|
||||
Boolean Checked;
|
||||
Microsoft.UI.Xaml.Visibility Highlight { get; };
|
||||
Int32 State;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user