This question is locked. New answers and comments are not allowed.
                        
                        In my application I use TabControl for UI and set few DataTemplates. But i don't know, how to set DataTemplate for change IsEnabled and Margin properties for each item (RadTabItem)
Here is my class
2nd question. XamlPath property sets only one time, when i click on tabitem later, nothing happens, page remains the same
                                <DataTemplate x:Key="ItemTemplate">    <StackPanel Orientation="Horizontal">        <Image Height="16" Width="16" Source="{Binding ImagePath}" />        <TextBlock Text="{Binding Header}" Margin="3,0,0,0" />    </StackPanel></DataTemplate>  <DataTemplate x:Key="ContentTemplate">    <Grid>        <navigation:Frame Source="{Binding XamlPath}" Margin="0 30 0 0"  />    </Grid></DataTemplate>public class RadItemsList{    public string ImagePath { get; set; }    public string Header { get; set; }    public Uri XamlPath { get; set; }}