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
920
WinGrid with Button that looks like IG Buttons
posted

Hi,

my problem is, i want a grid where one columne sometimes is a button (for add(something) or remove). Or empty if no interaction is posible.

I know how to change the column to Button

this.ultraGrid.DisplayLayout.Bands[0].Columns["ButtonText"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;


What i get there is a button but it does not look like a normal IG Button.
Is there a way except to underlay a Buttonimge to the cell that the button looks like a normal Button?

Thanks a lot.
  Wolfgang
Parents
  • 469350
    Offline posted

    Hi Wolfgang,

    Can you be more specific? What about the button does not look like a regular button? Can you post screen shots?

    This might be related to Windows themes, or it could have something to do with the display style of the button. There are a number of factors are play here, so without more specifics, it's hard to answer your question.

Reply
  • 920
    Offline posted in reply to Mike Saltzman

    What i get is somthing like this:

     

    The last Column is a string (in my Data) that has

    .Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;

    On the first look you dont see it is a Button. I think there will be a posibility to make this button
    look like a button so the user will know that he can click there.

    But I dont know where to Change this Display Style.
    If the corners of the button where roundet I think this woud be helping

    Any Idea what I want and how to realise it?
Children