chinbnhike
Top achievements
Rank 1
chinbnhike
asked on 24 Feb 2010, 02:48 AM
Hi,
i have image background and a button.
I want to set button background = "transparent"
i have image background and a button.
I want to set button background = "transparent"
<Telerik:RadButton Margin="77,56,0,0" HorizontalAlignment="Left" Width="94" Height="90" VerticalAlignment="Top"Background="Transparent">
But when i move "MouseEnter" it havn't transparent.
How to set transparent when mouse enter?
Thanks!!!
5 Answers, 1 is accepted
0
Hello chinbnhike,
In order to remove the MouseOver and the Selected visual state, you have to make a custom style of RadButton. For more information you can follow the link below:
Kind regards,
Dimitrina
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.
In order to remove the MouseOver and the Selected visual state, you have to make a custom style of RadButton. For more information you can follow the link below:
http://www.telerik.com/help/silverlight/radcontrols-for-silverlight-expression-blend-support.html
If you have further questions please do not hesitate to ask us.
I hope this will help you.
Kind regards,
Dimitrina
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.
0
Alexey Oyun
Top achievements
Rank 1
answered on 13 Jul 2010, 12:35 PM
Hi, I am having hard time figuring out where is MouseOver Brush of RadDropDown
All I get is Normal, Disabled, and Active brushes as seen in screenshot.
Please provide with an example of Custom Background for RadDropDown when drop down is open.
Thanks, Alexey
All I get is Normal, Disabled, and Active brushes as seen in screenshot.
Please provide with an example of Custom Background for RadDropDown when drop down is open.
Thanks, Alexey
0
chinbnhike
Top achievements
Rank 1
answered on 14 Jul 2010, 03:36 AM
Show me how to attach files samplecode, currently only allows image files
0
Accepted
Hello chinbnhike,
When you edit the control template of the RadDropDownButton you will see the control ButtonChrome. This control holds all visual states for the RadDropDownButton control. Please find the following attached files:
In the raddropdownbutton-style.zip file you will find a custom style for RadDropDownButton control.
In the blend.png file you will find which brushes have to be changed for the checked state.
Regards,
Dimitrina
the Telerik team
When you edit the control template of the RadDropDownButton you will see the control ButtonChrome. This control holds all visual states for the RadDropDownButton control. Please find the following attached files:
In the raddropdownbutton-style.zip file you will find a custom style for RadDropDownButton control.
In the blend.png file you will find which brushes have to be changed for the checked state.
If you have further questions please do not hesitate to ask us.
I hope this will help you.
Regards,
Dimitrina
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
0
ADM-IT Denis Pujdak
Top achievements
Rank 1
answered on 15 Aug 2013, 03:34 PM
<
UserControl
x:Class
=
"MyProject.SilverlightControl1"
xmlns:i
=
"clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"Green"
>
<
Image
Width
=
"18"
Height
=
"18"
DataContext
=
"{Binding PrintMovementCommand}"
Source
=
"{Binding IconSource}"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
ToolTipService.ToolTip
=
"{Binding Title}"
Cursor
=
"Hand"
>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"MouseLeftButtonUp"
>
<
i:InvokeCommandAction
Command
=
"{Binding Command}"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
Image
>
</
Grid
>
</
UserControl
>