How can I set the style DocumentHost in my xaml code ? I got the file by changing the style of Telerik.Windows.Controls.Docking, however I would like to change only the resources of my object now that I have other controls radDocking and I would not change at all.
Below is my code <Style x:Key="DocumentHostStyle" TargetType="dock:DocumentHost" <Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property="VerticalContentAlignment" Value="Stretch" /> <Setter Property="MinWidth" Value="25" /> <Setter Property="MinHeight" Value="25" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="dock:DocumentHost"> <!--My code changed with StackPanel --> <StackPanel> <telerik:RadExpander> <Rectangle Height="100" Fill="Blue"/> </telerik:RadExpander> <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}"> <ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> </Border> </StackPanel> </ControlTemplate> </Setter.Value> </Setter> </Style>