mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
toolkit updated to support these
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.CommandPalette.Extensions;
|
||||
using Microsoft.CommandPalette.Extensions.Toolkit;
|
||||
|
||||
@@ -27,4 +28,15 @@ public partial class SamplePagesCommandsProvider : CommandProvider
|
||||
{
|
||||
return _commands;
|
||||
}
|
||||
|
||||
public override ICommandItem[] GetDockBands()
|
||||
{
|
||||
List<ICommandItem> bands = new()
|
||||
{
|
||||
new SampleDockBand(),
|
||||
new SampleButtonsDockBand(),
|
||||
};
|
||||
|
||||
return bands.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user