// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
// Copyright (C) Leszek Pomianowski and WPF UI Contributors.
// All Rights Reserved.
using System;
using System.Windows;
using System.Windows.Markup;
namespace WPFluent.Controls;
///
/// Provides a dictionary implementation that contains WPF UI controls resources used by components and other elements of a WPF application.
///
[Localizability(LocalizationCategory.Ignore)]
[Ambient]
[UsableDuringInitialization(true)]
public class SyntaxHighlightDictionary : ResourceDictionary
{
private const string DictionaryUri =
"pack://application:,,,/WPFluent;component/SyntaxHighlight/SyntaxHighlight.xaml";
///
/// Initializes a new instance of the class.
/// It sets the of the WPF UI syntax highlight dictionary.
///
public SyntaxHighlightDictionary() => Source = new Uri(DictionaryUri, UriKind.Absolute);
}