minor cosmetic fix for Layouter.ToString()
This commit is contained in:
Родитель
e1aaebcc13
Коммит
0b859f75f9
|
@ -708,9 +708,7 @@ namespace Windows.UI.Xaml.Controls
|
|||
|
||||
private string LoggingOwnerTypeName => ((object)Panel ?? this).GetType().Name;
|
||||
|
||||
private string LoggingOwnerName => Panel?.Name ?? Panel?.GetType().Name ?? LoggingOwnerTypeName;
|
||||
|
||||
public override string ToString() => $"[{LoggingOwnerName}.Layouter]";
|
||||
public override string ToString() => $"[{LoggingOwnerTypeName}.Layouter]" + (string.IsNullOrEmpty(Panel?.Name) ? default : $"(name='{Panel.Name}')");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче