starkshang
starkshang

Reputation: 8558

Can't modify the icon of DXRibbonWindow in WPF

I tried to custome the icon of DXRibbonWindow by adding Icon=<Icon url> in DXRibbonWindow tag, like this: <DXRibbonWindow Icon="<Icon Url>" ... ></RXRibbonWindow> but it doesn't work, the icon remains as default, how can i custom the window icon? enter image description here

Upvotes: 0

Views: 47

Answers (1)

Jack
Jack

Reputation: 1006

Are you using a URL or a file path? I believe the property will only work with a correctly formatted file path to a suitable file type.

Here is an example from DevExpress for reference:

Icon="/WpfApplication9;component/Images/webcam_32.ico">

Upvotes: 0

Related Questions