Ticket T725374
Visible to All Users

Toolbar - How to show background image

created 6 years ago

Hi,

Can I make dxToolbar to be transparent?

Regards

Comments (2)
Alisher (DevExpress Support) 6 years ago

    Hi,

    dxToolbar does not provide such an option. Would you please describe your scenario in greater detail. I will do my best to find an appropriate solution for you.

    KK KK
    Krunoslav Kanjuh 6 years ago

      Hi Alisher,

      Customer want to see background image on empty space in toolbar. If is not supported I will try to make this on another way.

      Regards

      Answers approved by DevExpress Support

      created 6 years ago (modified 6 years ago)

      Hi Krunoslav,

      Thank you for the clarification. You can set the elementAttr option to show a background image:

      C#
      $("#toolbar").dxToolbar({ elementAttr: { style: "background-image: url('https://www.w3schools.com/cssref/paper.gif')", }, //... });

      Check the https://codepen.io/alishera/pen/QoVKdg?&editable=true  example illustrating my idea.

        Comments (1)
        KK KK
        Krunoslav Kanjuh 6 years ago

          Thank you.

          Regards

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.