Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2690
Conditional formatting and cellstyle
posted

Why is it that when the tag

<ig:XamGrid.ConditionalFormattingSettings>
                <ig:ConditionalFormattingSettings AllowConditionalFormatting="True"/>
            </ig:XamGrid.ConditionalFormattingSettings>
            
        is given any inline stlye given for the textcolumn is not getting applied is it default behaviour?

 

  • 2690
    posted

    Other column is just a templatecolumn

           <ig:TemplateColumn Key="field1" HorizontalContentAlignment="Right" CellStyle="{StaticResource SomeColumnStyle}" IsHideable="False" IsSummable="False" HeaderText="Earned Loss Ratio">
                                <ig:TemplateColumn.ItemTemplate>
                                    <DataTemplate>
                                        <TextBlock Text="{Binding field1, StringFormat='P2'}" ></TextBlock>
                                    </DataTemplate>
                                </ig:TemplateColumn.ItemTemplate>                          
                                <ig:TemplateColumn.EditorTemplate>                               
                                    <DataTemplate>
                                        <TextBox Text="{Binding field1, Mode=TwoWay, Converter={StaticResource PercentConverter}}" ></TextBox>
                                    </DataTemplate>
                                </ig:TemplateColumn.EditorTemplate>                            
                            </ig:TemplateColumn>