QuickAccessList.xaml.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Collections.Generic; 6 using Microsoft.UI.Xaml; 7 using Microsoft.UI.Xaml.Controls; 8 9 namespace Microsoft.PowerToys.Settings.UI.Controls 10 { 11 public sealed partial class QuickAccessList : UserControl 12 { 13 public QuickAccessList() 14 { 15 this.InitializeComponent(); 16 } 17 18 public object ItemsSource 19 { 20 get => (object)GetValue(ItemsSourceProperty); 21 set => SetValue(ItemsSourceProperty, value); 22 } 23 24 public static readonly DependencyProperty ItemsSourceProperty = DependencyProperty.Register(nameof(ItemsSource), typeof(object), typeof(QuickAccessList), new PropertyMetadata(null)); 25 } 26 }