I have a RadSplitContainer with a RadPaneGroup inside of it. Inside the pane group are 4 RadPane's (they are tabbed together into the same pane group), two of which have a titletemplate assigned to them. The titletemplate contains a button that when clicked drops down a contextmenu displaying 5 colored rectangles. The purpose of this is to link certain windows together. This works 100% when the 4 panes aren't tabbed together (either floating or docked elsewhere). However, if they are tabbed together and I change the button on one of the panes from the blue rectangle to the orange rectangle, it also changes the button on the other pane in the tab group, so it seems like if panes are tabbed together they share a TitleTemplate. Here's my code for the TitleTemplate
<
DataTemplate
x:Key
=
"TitleTemplate"
x:Name
=
"TTemplate"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
ContentPresenter
Content
=
"{Binding}"
Margin
=
"0,0,2,0"
/>
<
Button
x:Name
=
"btnActions"
Height
=
"20"
Width
=
"20"
BorderThickness
=
"0"
Style
=
"{x:Null}"
>
<
Button.Content
>
<
Rectangle
x:Name
=
"rect"
Fill
=
"Blue"
Width
=
"15"
Height
=
"15"
/>
</
Button.Content
>
<
telerik:RadContextMenu.ContextMenu
>
<
telerik:RadContextMenu
EventName
=
"Click"
ItemClick
=
"RadContextMenu_ItemClick"
>
<
telerik:RadMenuItem
Tag
=
"blue"
>
<
telerik:RadMenuItem.Header
>
Blue Symbol Bind
</
telerik:RadMenuItem.Header
>
<
telerik:RadMenuItem.Icon
>
<
Rectangle
Fill
=
"Blue"
Width
=
"15"
Height
=
"15"
/>
</
telerik:RadMenuItem.Icon
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Tag
=
"orange"
>
<
telerik:RadMenuItem.Header
>
Orange Symbol Bind
</
telerik:RadMenuItem.Header
>
<
telerik:RadMenuItem.Icon
>
<
Rectangle
Fill
=
"Orange"
Width
=
"15"
Height
=
"15"
/>
</
telerik:RadMenuItem.Icon
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Tag
=
"red"
>
<
telerik:RadMenuItem.Header
>
Red Symbol Bind
</
telerik:RadMenuItem.Header
>
<
telerik:RadMenuItem.Icon
>
<
Rectangle
Fill
=
"Red"
Width
=
"15"
Height
=
"15"
/>
</
telerik:RadMenuItem.Icon
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Tag
=
"gray"
>
<
telerik:RadMenuItem.Header
>
Gray Symbol Bind
</
telerik:RadMenuItem.Header
>
<
telerik:RadMenuItem.Icon
>
<
Rectangle
Fill
=
"Gray"
Width
=
"15"
Height
=
"15"
/>
</
telerik:RadMenuItem.Icon
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Tag
=
"yellow"
>
<
telerik:RadMenuItem.Header
>
Yellow Symbol Bind
</
telerik:RadMenuItem.Header
>
<
telerik:RadMenuItem.Icon
>
<
Rectangle
Fill
=
"Yellow"
Width
=
"15"
Height
=
"15"
/>
</
telerik:RadMenuItem.Icon
>
</
telerik:RadMenuItem
>
</
telerik:RadContextMenu
>
</
telerik:RadContextMenu.ContextMenu
>
</
Button
></
StackPanel
>
</
DataTemplate
>
Any help is appreciated, thanks!