Welcome to the Xceed Community | Help
Community Search  
More Search Options

SelectionMode

Sort Posts: Previous Next
  •  02-15-2010, 5:20 PM Post no. 25798

    SelectionMode

    Hi,

    We are using a grid with:

    xg.SelectionMode = SelectionMode.MultiSimple
    xg.SelectionForeColor = Color.Black
    xg.SelectionBackColor = Color.LightGray

    The problem we have is: we have background images in one of the columns, when the user select a row the image disappears.

    vb.net please

    Thanks in advance.

     

  •  03-09-2010, 2:44 PM Post no. 26041 in reply to 25798

    Re: SelectionMode

    Hi Troy,

    It is the designed behavior for the selected row to change its background color to the assigned SelectionBackColor (so as the Foreground color with the SelectionForeColor).

    To continue to display the images on selection, you could try using a transparent color.

    Example:

     

    xg.SelectionForeColor = Color.Transparent

    xg.SelectionBackColor = Color.Transparent

     


    Xceed - Software Developer and Technical Support
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.