Search code examples
c#-4.0devexpresswindowsribbon-control

how to add new icon image for newly created Dev express barButtonItem..?


I am currently working C# windows application can any one tell me how to add new icon for the newly created barButtonItem tell me how to add new image for that button.

If i select large image Index property then it shows only the old icons that are available Can any one tell me how to add new image for the button.


Solution

  • It would depend on how you are using your barButtonItem

    we use it with our own set of images. you can access those via

    global::Resources.(yourOwnPath);

    as stated here http://documentation.devexpress.com/#WindowsForms/DevExpressXtraBarsBarItem_Glyphtopic

    you can also use a list of images and use the index field or set the large Glyph of Glyph property of the button