Hi,
I have a XAMGrid bind to only one column name.
when i mouseover it i get the cells highlighted as yellow.
How can i remove this style.
I need the grid should behave like a normal table without any styles.
I have a overridden a Xamgrid and all the other pages make use of the same grid.
So i need this behaviour only in one page.
Please advice.
SNA
Hello,
By default, the mouse hover animation is blue, not yellow? Are you using a theme - like Office2k.
In order to remove this animation, you have to restyle the DataRecordCellArea and remove the triggers responsible for thia animation. You can find the default xaml files in the DefaultStyles directory and use them as base.
I am using a base grid for all my pages
public
class LipperGrid : XamDataGrid
{private LipperGridCommand
_gridcommand;........................code goes here}
Code in Pages....
<Controls1:LipperGrid GroupByAreaLocation="None" VerticalAlignment="Top" HorizontalAlignment
The style is defined in this basegrid(LipperGrid ) Overriding the XAMGRID.So i cant change the base theme and styles.
I need to remove this triggers in one of the pages
How do i do that.
Please suggest with a code samples.
Right now i am using a style
<Style TargetType="{x:Type igDP:DataRecordCellArea}"><Setter Property="BackgroundHover"><Setter.Value><LinearGradientBrush EndPoint="0,1" StartPoint="0,0"><GradientStop Color="Transparent" Offset="0"/><GradientStop Color="Transparent" Offset="1"/></LinearGradientBrush></Setter.Value></Setter>
Is this the right way to do this?
If yes what is the setter property for itemselected in grid.
Thnaks