Hi, I have a infragistic grid and which is bind with MVVM and I have a scrollview in it. and the scrollviewer is not working properly.
Here I want to change the background color for some particular rows in that grid, could you please anyone help me out with this.
Thank you.
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Oct 26, 2016, 10:30 AM EDT
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Oct 26, 2016, 7:04 AM EDT
Style TargetType="{x:Type igDP:DataRecordCellArea}"> Setter Property="Background" Value="#D5BAC1" /> Setter Property="BorderBrush" Value="#D5BAC1" /> Setter Property="BackgroundAlternate" Value="#E6DBDF" /> Setter Property="BorderAlternateBrush" Value="#E6DBDF" /> Style>Style TargetType="{x:Type igDP:CellValuePresenter}" > Setter Property="Background" Value="Blue" /> Style.Triggers> DataTrigger Binding="{Binding Path=IsAlternate,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={ x:Type igDP:DataRecordCellArea}} }" Value="True"> Setter Property="Background" Value="Red" /> DataTrigger> Style.Triggers> Style>sravankumar J6 reputationPosted Oct 26, 2016, 9:54 AM EDT