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
785
Would you please help me with the UltraButton style setting?
posted

Hello,team
I've got a problem with the UltraButton style setting.
What I need is shown in the first screenshot, which is with the round-angle and single color tiled.

But what I got is shown in the second screenshot, which has some kind gap between the setting color and the edge.
Here is the code that the second one using(with winform standard button):

this.BackColor = Color.FromArgb(0, 153, 255);
this.ForeColor = Color.FromArgb(255, 255, 255);

I didn't using the OSThemes, and with the third one(with UltraButton), it's right-angle:

appearance2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(o)))), ((int)(((byte)(153)))), ((int)(((byte)(255)))));
appearance2.ThemedElementAlpha = Infragistics.Win.Alpha.Transparent;

How could I implement the Button style which is shown in the first screenshot?
Thanks for your concern.

Parents
  • 23930
    Offline posted

    Hi Richard,

    Thank you for posting in our forums.

    The easiest way to create such button is to leave the UseOSThemes to its Default value. This will leave the button with round borders. In order to have the same colors and style like the one from the image you can use AppStylist. The IG.isl file already styles the button in such way.

    I have attached a sample which demonstrates this suggestion.

    Please let me know if you have any additional questions.

    WB_Style.zip
Reply Children