Skip to content
Iliqn Gorki
Iliqn Gorki asked on Jan 30, 2017 4:52 PM

Hello guys ,
I need to add Image in UltraButton but it musn’t be a backgroundImage need normal Tile image  for my case .

Sign In to post a reply

Replies

  • 0
    Sahaja Kokkalagadda
    Sahaja Kokkalagadda answered on Jan 30, 2017 4:52 PM

    Hello Ilign,

    To add an image on top of UltraButton you can set it to its Appearance object. Using ImageHAlign and ImageVAlign you can adjust the position of this image on UltraButton. For example, you can do something like this:

    ultraButton1.Appearance.Image = userImage;
    ultraButton1.Appearance. ImageHAlign = Infragistics.Win.HAlign.Left;
    ultraButton1.Appearance. ImageVAlign = Infragistics.Win.VAlign.Middle;
    

    if you need you could also adjust the Image size:

    ultraButton1.ImageSize = new System.Drawing.Size(20, 20);

     

    Please let me know if I may be of further assistance.

    Sincerely,
    Sahaja Kokkalagadda
    Associate Software Developer

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Iliqn Gorki
Favorites
0
Replies
1
Created On
Jan 30, 2017
Last Post
9 years, 8 months ago

Suggested Discussions

Created by

Created on

Jan 30, 2017 4:52 PM

Last activity on

Feb 23, 2026 7:45 PM