How to apply Foreground Color for Disable (is enabled=False) Records in xamdatagrid
I am using following code is enabled working fine but foreground color not applied for records
<igDP:XamDataGrid Name="XamDataGridSqlViews" GroupByAreaLocation="None" IsSynchronizedWithCurrentItem="True">
<igDP:XamDataGrid.Resources>
<Style TargetType="{x:Type igDP:CellValuePresenter}">
<Setter Property="BorderThickness" Value="1,0,1,1"/>
<Setter Property="BorderBrush" Value="LightGray"/>
</Style>
<Style TargetType="{x:Type igDP:DataRecordCellArea}">
<Setter Property="Background" Value="White"/>
<Setter Property="Foreground" Value="Black" />
<Setter Property="BackgroundHover" Value="AliceBlue"/>
<Style.Triggers>
<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=Record.DataItem.IsMandatory}" Value="True">
<Setter Property="IsActive" Value="False" />
</DataTrigger>
<Setter Property="Foreground" Value="Red"/>
</Style.Triggers>
</igDP:XamDataGrid.Resources>
</igDP:XamDataGrid>
Hello,
I found this post duplicate to this one:
http://www.infragistics.com/community/forums/p/83382/416672.aspx#416672
which is already discussed.
I need do display tooltip for XamComboEditor items.folowing is my xamcombo editor code.
when i mouse hover the item i need to display the tool tips.
finally am asking for tooltips for following XamComboEditor items.
Please help me...... please send the solution ASAP
<igEditors:XamComboEditor x:Name="cbodata" Height="24" ToolTip="Pickticket Reports" Width="150" FontWeight="Normal" HorizontalAlignment="Left" IsAlwaysInEditMode="False" SelectedIndex="0" Margin="5 0 0 0" InvalidValueBehavior="RevertValue" > <igEditors:XamComboEditor.ItemsProvider> <igEditors:ComboBoxItemsProvider> <igEditors:ComboBoxDataItem DisplayText="Select Report" Value="Select Report"> </igEditors:ComboBoxDataItem> <igEditors:ComboBoxDataItem DisplayText="Picking Ticket" Value="Picking Ticket"/> <igEditors:ComboBoxDataItem DisplayText="Proforma Invoice" Value="Proforma Invoice"/> </igEditors:ComboBoxItemsProvider> </igEditors:XamComboEditor.ItemsProvider> </igEditors:XamComboEditor>
Hello Koteswara,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I set the XamComboEditor’s ComboBoxStyle and added a setter for the ItemTemplate. In the template I added the tooltip you want. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.