I have a radexpander on a form that is meant to expand over a custom control. The relevant WPF is:
<Grid Grid.Column="2" Grid.Row="1" Margin="0,20,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="85*"/>
<RowDefinition Height="15*" MinHeight="50px"/>
</Grid.RowDefinitions>
<gsas:FullHourlyView Grid.Row="0"/>
<gsas:Legend Grid.Row="1" Margin="20,15,0,0" Visibility="{Binding LegendVisible, Converter={StaticResource BoolToVis}, FallbackValue=Visible}"/>
</Grid>
<telerik:RadExpander x:Name="expand" Grid.Column="2" Grid.Row="1" ExpandDirection="Up" VerticalAlignment="Stretch" VerticalContentAlignment="Bottom" HorizontalHeaderAlignment="Right" telerik:AnimationManager.IsAnimationEnabled="True" IsExpanded="{Binding AlarmGridExpanded, Mode=TwoWay}" Collapsed="expand_Collapsed" Expanded="expand_Expanded" ToolTip="Show Alarms">
<ContentControl HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="{Binding AlarmsGrid}"></ContentControl>
</telerik:RadExpander>
</Grid>
The FullyHourlyView is made up of four other custom controls, the relevant bit being:
<ItemsControl ItemsSource="{Binding HourData}" x:Name="HourBlocks">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Button Style="{StaticResource {x:Static ToolBar.ButtonStyleKey}}" Margin="-1,0,-3,0" Command="{Binding ElementName=HourBlocks, Path=DataContext.HourlyClick}" CommandParameter="{Binding}">
There are a couple of behaviors I now have to do with the radexpander being on there.
1) The buttons do not fire, in fact that appear to be disabled or something like that because when you hover over it they do not highlight like they do when I remove the radexpander from the WPF.
2) The tooltip for the buttons is the same as the Tooltip for the RadExpander (Show Alarms).
If I remove the expander everything works as I would expect.