<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:bpa="clr-namespace:BPA.UIControl">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Resources/Default.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Button.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Icon.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/TextBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/PasswordBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/TextBlock.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/RadioButton.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ToggleButton.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/CheckBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ComboBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ProgressBar.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Slider.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ListBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/GroupBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Label.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ListView.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/TreeView.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Expander.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/TabControl.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/DatePicker.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Calendar.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/DatePicker.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Clock.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/TimePicker.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ScrollViewer.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ToolTip.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Menu.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ToolBar.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/StatusBar.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/DataGrid.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/PageBar.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ContextMenu.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Card.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/MessageContainer.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/MessageCard.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Window.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/MessageBoxContainer.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/MessageBoxCard.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/DialogContainer.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/DateTimePicker.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Transition.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Badge.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Tag.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ControlMask.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Loading.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/RepeatButton.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/NumericBox.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/StepBar.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Description.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/HamburgerMenu.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/NotificationContainer.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/NotificationCard.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/Renamer.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/FlipView.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/DropDownButton.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/TreeListView.xaml" />
        <ResourceDictionary Source="pack://application:,,,/BPA.UIControl;component/Themes/ControlDisplay.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <Style BasedOn="{StaticResource RubyerButton}" TargetType="{x:Type Button}" />
    <Style BasedOn="{StaticResource RubyerCheckBox}" TargetType="{x:Type CheckBox}" />
    <Style BasedOn="{StaticResource RubyerComboBox}" TargetType="{x:Type ComboBox}" />
    <Style BasedOn="{StaticResource RubyerGroupBox}" TargetType="{x:Type GroupBox}" />
    <Style BasedOn="{StaticResource RubyerListBox}" TargetType="{x:Type ListBox}" />
    <Style BasedOn="{StaticResource RubyerPasswordBox}" TargetType="{x:Type PasswordBox}" />
    <Style BasedOn="{StaticResource RubyerProgressBar}" TargetType="{x:Type ProgressBar}" />
    <Style BasedOn="{StaticResource RubyerRadioButton}" TargetType="{x:Type RadioButton}" />
    <Style BasedOn="{StaticResource RubyerSlider}" TargetType="{x:Type Slider}" />
    <Style BasedOn="{StaticResource RubyerTextBox}" TargetType="{x:Type TextBox}" />
    <Style BasedOn="{StaticResource RubyerToggleButton}" TargetType="{x:Type ToggleButton}" />
    <Style BasedOn="{StaticResource RubyerLabel}" TargetType="{x:Type Label}" />
    <Style BasedOn="{StaticResource RubyerListView}" TargetType="{x:Type ListView}" />
    <Style BasedOn="{StaticResource RubyerTreeViewItem}" TargetType="{x:Type TreeViewItem}" />
    <Style BasedOn="{StaticResource RubyerTreeView}" TargetType="{x:Type TreeView}" />
    <Style BasedOn="{StaticResource RubyerExpander}" TargetType="{x:Type Expander}" />
    <Style BasedOn="{StaticResource RubyerTabControl}" TargetType="{x:Type TabControl}" />
    <Style BasedOn="{StaticResource RubyerCalendar}" TargetType="{x:Type Calendar}" />
    <Style BasedOn="{StaticResource RubyerTextBox}" TargetType="{x:Type DatePickerTextBox}" />
    <Style BasedOn="{StaticResource RubyerDatePicker}" TargetType="{x:Type DatePicker}" />
    <Style BasedOn="{StaticResource RubyerClock}" TargetType="{x:Type bpa:Clock}" />
    <Style BasedOn="{StaticResource RubyerTimePicker}" TargetType="{x:Type bpa:TimePicker}" />
    <Style BasedOn="{StaticResource RubyerToolTip}" TargetType="{x:Type ToolTip}" />
    <Style BasedOn="{StaticResource RubyerScrollViewer}" TargetType="{x:Type ScrollViewer}" />
    <Style BasedOn="{StaticResource RubyerMenuItem}" TargetType="{x:Type MenuItem}" />
    <Style BasedOn="{StaticResource RubyerMenu}" TargetType="{x:Type Menu}" />
    <Style BasedOn="{StaticResource RubyerContextMenu}" TargetType="{x:Type ContextMenu}" />
    <Style BasedOn="{StaticResource RubyerToolBar}" TargetType="{x:Type ToolBar}" />
    <Style BasedOn="{StaticResource RubyerToolBarTray}" TargetType="{x:Type ToolBarTray}" />
    <Style BasedOn="{StaticResource RubyerStatusBar}" TargetType="{x:Type StatusBar}" />
    <Style BasedOn="{StaticResource RubyerDataGridCell}" TargetType="{x:Type DataGridCell}" />
    <Style BasedOn="{StaticResource RubyerDataGridRowHeader}" TargetType="{x:Type DataGridRowHeader}" />
    <Style BasedOn="{StaticResource RubyerDataGridRow}" TargetType="{x:Type DataGridRow}" />
    <Style BasedOn="{StaticResource RubyerDataGridColumnHeader}" TargetType="{x:Type DataGridColumnHeader}" />
    <Style BasedOn="{StaticResource RubyerDataGrid}" TargetType="{x:Type DataGrid}" />
    <Style BasedOn="{StaticResource RubyerPageBar}" TargetType="{x:Type bpa:PageBar}" />
    <Style BasedOn="{StaticResource RubyerCard}" TargetType="{x:Type bpa:Card}" />
    <Style BasedOn="{StaticResource RubyerMessageCard}" TargetType="{x:Type bpa:MessageCard}" />
    <Style BasedOn="{StaticResource RubyerMessageBoxCard}" TargetType="{x:Type bpa:MessageBoxCard}" />
    <Style BasedOn="{StaticResource RubyerDialogContainer}" TargetType="{x:Type bpa:DialogContainer}" />
    <Style BasedOn="{StaticResource RubyerDateTimePicker}" TargetType="{x:Type bpa:DateTimePicker}" />
    <Style BasedOn="{StaticResource RubyerTransition}" TargetType="{x:Type bpa:Transition}" />
    <Style BasedOn="{StaticResource RubyerBadge}" TargetType="{x:Type bpa:Badge}" />
    <Style BasedOn="{StaticResource RubyerTag}" TargetType="{x:Type bpa:Tag}" />
    <Style BasedOn="{StaticResource RubyerControlMask}" TargetType="{x:Type bpa:ControlMask}" />
    <Style BasedOn="{StaticResource RubyerLoading}" TargetType="{x:Type bpa:Loading}" />
    <Style BasedOn="{StaticResource RubyerRepeatButton}" TargetType="{x:Type RepeatButton}" />
    <Style BasedOn="{StaticResource RubyerNumericBox}" TargetType="{x:Type bpa:NumericBox}" />
    <Style BasedOn="{StaticResource HorizontalStepBarItem}" TargetType="{x:Type bpa:StepBarItem}" />
    <Style BasedOn="{StaticResource RubyerStepBar}" TargetType="{x:Type bpa:StepBar}" />
    <Style BasedOn="{StaticResource RubyerDescriptionItem}" TargetType="{x:Type bpa:DescriptionItem}" />
    <Style BasedOn="{StaticResource RubyerDescription}" TargetType="{x:Type bpa:Description}" />
    <Style BasedOn="{StaticResource RubyerHamburgerMenu}" TargetType="{x:Type bpa:HamburgerMenu}" />
    <Style BasedOn="{StaticResource RubyerHamburgerMenuItem}" TargetType="{x:Type bpa:HamburgerMenuItem}" />
    <Style BasedOn="{StaticResource RubyerHamburgerMenuOptionsItem}" TargetType="{x:Type bpa:HamburgerMenuOptionsItem}" />
    <Style BasedOn="{StaticResource RubyerNotificationCard}" TargetType="{x:Type bpa:NotificationCard}" />
    <Style BasedOn="{StaticResource RubyerRenamer}" TargetType="{x:Type bpa:Renamer}" />
    <Style BasedOn="{StaticResource RubyerFlipView}" TargetType="{x:Type bpa:FlipView}" />
    <Style BasedOn="{StaticResource RubyerFlipViewItem}" TargetType="{x:Type bpa:FlipViewItem}" />
    <Style BasedOn="{StaticResource RubyerDropDownButton}" TargetType="{x:Type bpa:DropDownButton}" />
    <Style BasedOn="{StaticResource RubyerTreeListViewItem}" TargetType="{x:Type bpa:TreeListViewItem}" />
    <Style BasedOn="{StaticResource RubyerTreeListView}" TargetType="{x:Type bpa:TreeListView}" />
</ResourceDictionary>