This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to used an ImageButton in an example application and I wrote this code:
The problem is that the button appears DISABLED even if the IsEnabled property is set to true. There is also another strange behaviour: if, from the propery window, I try to check the "IsEnabled" checkbox, the checkbox is not checked, as if the property wasn't valid. You can also give a look to the attached screenshot.
What's wrong with my code? Thanks!
I'm trying to used an ImageButton in an example application and I wrote this code:
<!--ContentPanel - place additional content here--> <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> <telerikPrimitives:RadImageButton x:Name="PlayButton" ButtonShape="Ellipse" IsEnabled="True" BorderThickness="2" ButtonBehavior="ToggleButton" ButtonType="Custom" RestStateImageSource="play.png" PressedStateImageSource="pause.png" HorizontalAlignment="Center" /> </Grid>The problem is that the button appears DISABLED even if the IsEnabled property is set to true. There is also another strange behaviour: if, from the propery window, I try to check the "IsEnabled" checkbox, the checkbox is not checked, as if the property wasn't valid. You can also give a look to the attached screenshot.
What's wrong with my code? Thanks!