Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ToolBar > IsEnabled Image

Not answered IsEnabled Image

Feed from this thread
  • Rieni De Rijke Intermediate avatar

    Posted on Apr 13, 2010 (permalink)

    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"/>     
    </Button>     

    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...     

    Marinus

    Reply

  • Vladislav Vladislav admin's avatar

    Posted on Apr 14, 2010 (permalink)

    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,
    Vladislav
    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.
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ToolBar > IsEnabled Image
Related resources for "IsEnabled Image"

WPF ToolBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]