0
Answer

grid view /Label

Ask a question
sridevi pc

sridevi pc

11y
1.1k
1
i have used infragistics for grids and tabs

i have rotated my table so that column will become row and viseversa(i want my colum to be header)

now i  have a header in row(previously coulmn)
but the header is like cell but i want it as in attachment (Mid)

<

Style x:Key="makingrowassingle"


TargetType="{x:Type igGrid:CellValuePresenter}"


BasedOn="{StaticResource CellGray}">


<Setter Property="Background"


Value="{StaticResource BorderRecColor}" />


<Setter Property="Foreground"


Value="{StaticResource ForegroundWhiteBrush}" />


<Setter Property="BorderBrush"


Value="White" />


<Style.Triggers>



<MultiTrigger>


<MultiTrigger.Conditions>


<Condition Property="IsMouseOver"


Value="True" />


<Condition Property="Background"


Value="{StaticResource BorderRecColor}" />


</MultiTrigger.Conditions>


<Setter Property="BackgroundHover"


Value="{StaticResource BorderRecColor}" />


<Setter Property="ForegroundHoverStyle"


Value="{StaticResource ForegroundWhiteBrush}" />


<Setter Property="BorderBrush"


Value="White" />


</MultiTrigger>


<Trigger Property="IsSelected"


Value="False">


<Setter Property="BackgroundActive"


Value="{StaticResource BorderRecColor}" />


<Setter Property="BorderThickness"


Value="0,0,0,0" />


</Trigger>



<Trigger Property="IsEnabled" Value="True">


<Setter Property="BackgroundActive"


Value="{StaticResource BorderRecColor}" />


<Setter Property="BorderThickness"


Value="0,0,0,0" />


</Trigger>


</Style.Triggers>


</Style>

i get a single row until when i click on the cell
if i click the cell is getting higligted
please help on this