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
560
Different Styles for DataErrorInfo`?
posted

Hello, i found your Sample in the feature browser with the DateErrorInfo, is it possible to change the style for  specific Cells `? That means, Cell A has a red and Cell B could has a yellow icon. How to change these at runtime?

  • 27093
    posted

    Hello,

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

    If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.

    Sincerely,
    Petar Monov
    Developer Support Engineer
    Infragistics Bulgaria
    www.infragistics.com/support

  • 27093
    posted

    Hello,

     

    I have been looking into this for you and have found a way for you to achieve your goal. What you can do is set styles like this one:

    <Style TargetType="{x:Type igDP:CellValuePresenter}">

        <Style.Resources>

            <SolidColorBrush  x:Key="{x:Static igDP:DataPresenterBrushKeys.DataErrorIconForegroundBrushKey}" Color="Yellow" />

        </Style.Resources>

    </Style>

     

    to the specific Field’s  Settings.CellValuePresenterStyle properties.

     

    Please let me know if you require any further assistance on the matter.

     

    Sincerely,

    Petar Monov

    Developer Support Engineer

    Infragistics Bulgaria

    www.infragistics.com/support