<Application x:Class="ToggleSwitchButton_WPF.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/System.Windows.xaml"/>
				<ResourceDictionary Source="/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.xaml"/>
			</ResourceDictionary.MergedDictionaries>

			<Style x:Key="MySplitButtonStyle" TargetType="telerik:RadSplitButton" BasedOn="{StaticResource RadSplitButtonStyle}">
				<!--<Setter Property="ButtonPartStyle" Value="{StaticResource MyButtonStyle}"/>-->
				<Setter Property="IsToggle" Value="False"/>
				<Setter Property="IsTabStop" Value="True" />
				<Setter Property="IsOpen" Value="False" />
				<EventSetter Event="DropDownOpened" Handler="OnDropDownOpened" />
				<!--<Setter Property="Template">
					<Setter.Value>
						<ControlTemplate TargetType="telerik:RadSplitButton">
							...
						</ControlTemplate>
					</Setter.Value>
				</Setter>-->
			</Style>
		</ResourceDictionary>

	</Application.Resources>
</Application>
