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
175
Re: Masked Input and Objects
posted

Hi

I am using Infragistics Wingrid 2006 version and using the "IntegerPositive" as the Style of one of the column. I want to change the default blue background color while editing. Please let me know how to change it.

 

Thanks,

JIJIL

Parents
  • 175
    posted

     

     

     

     

     

     

     

     

    Hi,

    Find below the code snippet i have used. Please let me know what i should add extra to remove the bacground blue color.

    e.Layout.Bands[0].Columns[2].MaskDisplayMode = Infragistics.Win.UltraWinMaskedEdit.

     

    MaskMode

    .IncludeLiterals;

    e.Layout.Bands[0].Columns[2].MaskDataMode = Infragistics.Win.UltraWinMaskedEdit.

     

    MaskMode

    .IncludeBoth;

     

     

    // e.Layout.Bands[0].Columns[2].ShowInkButton = ShowInkButton.Never;

    e.Layout.Bands[0].Columns[2].Style = Infragistics.Win.UltraWinGrid.

     

    ColumnStyle

    .IntegerPositive;

    e.Layout.Bands[0].Columns[2].CellAppearance.BackColorDisabled2 =

     

    Color

    .White;

    e.Layout.Bands[0].Columns[2].MaskLiteralsAppearance.BackColorDisabled =

     

    Color

    .White;

    e.Layout.Bands[0].Columns[2].MaskLiteralsAppearance.BackColor2 =

     

    Color

    .White;

    e.Layout.Bands[0].Columns[2].MaskLiteralsAppearance.BackColor =

     

    Color

    .White;

    e.Layout.Bands[0].Columns[2].MaskLiteralsAppearance.BackColor =

     

    Color

    .White;

Reply Children
No Data