Hello Dave,
This is controlled by a trigger in the LabelPresenter style. What you can do is remove that MultiTrigger- responsible for IsMouseOver property / remove the storyboards:
<MultiTrigger>
<MultiTrigger.Conditions>
<!--<Condition Property="SortStatus" Value="NotSorted"/>-->
<Condition Property="IsMouseOver" Value="True"/>
</MultiTrigger.Conditions>
<MultiTrigger.EnterActions>
<BeginStoryboard Storyboard="{StaticResource sbHighlightOn}" x:Name="sbHighlightOn_BeginStoryboard"/>
<BeginStoryboard Storyboard="{StaticResource SigmaFadeOut}" x:Name="SigmaFadeIn_BeginStoryboard"/>
<BeginStoryboard x:Name="SigmaFadeIn_BeginStoryboard1" Storyboard="{StaticResource SigmaFadeIn}"/>
</MultiTrigger.EnterActions>
<MultiTrigger.ExitActions>
<BeginStoryboard Storyboard="{StaticResource sbHighlightOff}" x:Name="sbHighlightOff_BeginStoryboard"/>
<BeginStoryboard Storyboard="{StaticResource SigmaFadeOut}" x:Name="SigmaFadeOut_BeginStoryboard"/>
<StopStoryboard BeginStoryboardName="SigmaFadeIn_BeginStoryboard1"/>
</MultiTrigger.ExitActions>
</MultiTrigger>
You can find the default styles for the LabelPresenter and the rest of our controls in the DefaultStyles directory in the Infragistics folder.
Alex,Would you mind providing a little more detail on where I can fiind the default style for a XamDataGrid LabelPresenter? The closest I could find is:C:\Program Files\Infragistics\NetAdvantage 2009.2\WPF\DefaultStyles\DataPresenter\DataPresenterGeneric.xamlThis contains some LabelPresenter-related markup for a FieldDragIndicator. This doesn't sound like what I'm looking for. Would you mind kindly giving me a precise pointer to where I need to be looking? Thanks!Dave
Dave,
The LabelPresenters are in the Express resource dictionary, as they are shared between the full version and the express version. This file is in the same folder with the name : DataPresenterGeneric_Express