コード例 #1
0
ファイル: Settings.xaml.cs プロジェクト: Wires77/Elpis
        public Settings(Player player, Config config, HotKeyHost keyHost)
        {
            InitializeComponent();

            _config = config;
            _player = player;
            _keyHost = keyHost;
            HotKeyItems.SetBinding(ItemsControl.ItemsSourceProperty, new Binding("HotKeys") {Source = _keyHost, NotifyOnSourceUpdated=true, Mode=BindingMode.OneWay });
        }