mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 13:35:31 +02:00
[PowerRename] Add row highlighting (#14746)
* Add Highlight property to ExplorerItem * Change property type * Initialize property * Update MainWindow.xaml * Update MainWindow.xaml * Update MainWindow.xaml * Updated brush Co-authored-by: Stefan Markovic <stefan@janeasystems.com>
This commit is contained in:
@@ -26,6 +26,7 @@ namespace winrt::PowerRenameUILib::implementation
|
||||
void Type(int32_t value);
|
||||
bool Checked();
|
||||
void Checked(bool value);
|
||||
winrt::Windows::UI::Xaml::Visibility Highlight();
|
||||
Windows::Foundation::Collections::IObservableVector<PowerRenameUILib::ExplorerItem> Children();
|
||||
void Children(Windows::Foundation::Collections::IObservableVector<PowerRenameUILib::ExplorerItem> const& value);
|
||||
winrt::event_token PropertyChanged(Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler);
|
||||
@@ -41,6 +42,7 @@ namespace winrt::PowerRenameUILib::implementation
|
||||
winrt::Windows::Foundation::Collections::IObservableVector<PowerRenameUILib::ExplorerItem> m_children;
|
||||
int32_t m_type;
|
||||
bool m_checked;
|
||||
winrt::Windows::UI::Xaml::Visibility m_highlight;
|
||||
winrt::event<Windows::UI::Xaml::Data::PropertyChangedEventHandler> m_propertyChanged;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user