Merge pull request #1202 from HandyOrg/t/bot/fix-codeformatting
[Bot] Automated PR to fix formatting errors
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user