24f80bd9ba
This is a hotfix to #10048. When the tab renamer is opened, we need to make sure to not immediately steal focus from it. * [x] closes #10112 * [x] I work here * [x] tested manually
25 lines
713 B
Plaintext
25 lines
713 B
Plaintext
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
import "TerminalTabStatus.idl";
|
|
|
|
namespace TerminalApp
|
|
{
|
|
delegate void TitleChangeRequestedArgs(String title);
|
|
|
|
[default_interface] runtimeclass TabHeaderControl : Windows.UI.Xaml.Controls.UserControl, Windows.UI.Xaml.Data.INotifyPropertyChanged
|
|
{
|
|
String Title { get; set; };
|
|
Double RenamerMaxWidth { get; set; };
|
|
|
|
TabHeaderControl();
|
|
void BeginRename();
|
|
|
|
Boolean InRename { get; };
|
|
|
|
TerminalTabStatus TabStatus { get; set; };
|
|
|
|
event TitleChangeRequestedArgs TitleChangeRequested;
|
|
event Windows.Foundation.TypedEventHandler<Object, Object> RenameEnded;
|
|
}
|
|
}
|