Hi,
All rows should be visable, but I would like to disable some of those.There is a sample on the net for a xamDataGrid: http://es.infragistics.com/community/forums/t/25612.aspx
I would like to achive basicly the same, but using the xamGrid instead of the DataGrid.
GREAT POST! helped me solve the mystery!
Hello Konstantin,
I have been looking into your question. You can remove the key of the Style for the disabled rows. This way the style would apply and there would be no need of the event.
Here is an example of the style:
<Style TargetType="{x:Type igPrim:CellsPanel}">
<Style.Triggers>
<DataTrigger Binding="{Binding Age}" Value="22">
<Setter Property="IsEnabled" Value="False"/>
<Setter Property="TextElement.Foreground" Value="LightGray"/>
</DataTrigger>
</Style.Triggers>
</Style>
Please do not hesitate to let me know if you have any further questions on this matter.
Any Update?
Is there a way to achive this without beeing forced to rely on an event?
Thank you for the feedback. I am glad I was able to help.