Automated dotnet-format update

This commit is contained in:
github-actions-dotnet-formatter[bot] committed 2022-06-13 15:46:21 +00:00
1 parent 28a485fd18
commit 5ce14330e4
2 files changed
+4 -4

No files matched your search

@@ -124,7 +124,7 @@ namespace HandyControl.Controls
base.OnApplyTemplate();
_tabHeaderItemsControl = GetTemplateChild(TabHeaderItemsControl) as ItemsControl;
if (_tabHeaderItemsControl is {ItemsSource: null})
if (_tabHeaderItemsControl is { ItemsSource: null })
{
_tabHeaderItemsControl.ItemsSource = _tabHeaderItemsSource;
}
@@ -237,7 +237,7 @@ namespace HandyControl.Controls
{
base.OnSelectionChanged(e);
if (e.AddedItems is not {Count: > 0})
if (e.AddedItems is not { Count: > 0 })
{
return;
}
@@ -321,7 +321,7 @@ namespace HandyControl.Controls
var count = Items.Count;
for (var index = 0; index < count; ++index)
{
if (ItemContainerGenerator.ContainerFromIndex(index) is RibbonTab {IsVisible: true})
if (ItemContainerGenerator.ContainerFromIndex(index) is RibbonTab { IsVisible: true })
{
return index;
}
@@ -53,7 +53,7 @@ namespace HandyControl.Controls
protected virtual void OnIsSelectedChanged(bool oldIsSelected, bool newIsSelected)
{
}
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)