IsEnabled Image

2 posts, 0 answers
  1. Rieni De Rijke
    Rieni De Rijke avatar
    170 posts
    Member since:
    Mar 2010

    Posted 13 Apr 2010 Link to this post

    I have a RadToolBar with some buttons.
    Some of them are navigationbuttons which I want to Enable/Disable from codebehind:

    <Button x:Name="btnFirst" Command="{Binding FirstCommand}" IsEnabled="{Binding IsLeftEnabled}" Width="26">
                    <Image Width="16" Height="16" Source="/Star3;component/Images/16/navigate_beginning.png"/>     

    It works not 100%: I had expected a gray image when disabled.
    But the image just disappeares.
    And it won't come back when enabled again...     

  2. Vladislav
    Vladislav avatar
    277 posts

    Posted 14 Apr 2010 Link to this post

    Hello Rieni De Rijke,

    I have prepared a sample project demonstrating a simple binding of the Image of a Button.
    There are two buttons in this application - one in the RadToolBar control and one in the main StackPanel.

    Can you please review the project and change it (if necessary in order to reproduce your issue)?

    We are awaiting for your response.

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top