This is a migrated thread and some comments may be shown as answers.

IsEnabled Image

1 Answer 65 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke asked on 13 Apr 2010, 01:45 PM
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

1 Answer, 1 is accepted

Sort by
0
Vladislav
Telerik team
answered on 14 Apr 2010, 11:17 AM
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.
Tags
ToolBar
Asked by
Rieni De Rijke
Top achievements
Rank 1
Answers by
Vladislav
Telerik team
Share this question
or