i cant seem to find a whole lot of info about how it works, are there beginner guides to the telerik wpf?
I downloaded 30days trial demo, but it just shows gui? The gui needs to be connected to my code behind, and this connection is what i cant find.
One thing i wanted to try was to make a button unEnabled after you press it, should be easy? I've tried a couple of things and none seems to work, please tell me what im doing wrong!
XAML
C#
I downloaded 30days trial demo, but it just shows gui? The gui needs to be connected to my code behind, and this connection is what i cant find.
One thing i wanted to try was to make a button unEnabled after you press it, should be easy? I've tried a couple of things and none seems to work, please tell me what im doing wrong!
<
Views:CustomViewBase.RibbonInformation
>
<
entities:RibbonInformation
Header
=
"Operation"
>
<
entities:RibbonInformation.RibbonGroups
>
<
telerik:RadRibbonGroup
x:Name
=
"UIRibbonToolbar"
Header
=
"Controls"
>
<
telerik:RadRibbonButton
Text
=
"Back"
Size
=
"Large"
LargeImage
=
"/Images/Back.bmp"
Click
=
"RadRibbonButton_Click_Back"
Name
=
"RadRibbonButton_Back"
IsEnabled
=
"True"
/>
<
telerik:RadRibbonButton
Text
=
"Play"
Size
=
"Large"
LargeImage
=
"/Images/Play.bmp"
Click
=
"RadRibbonButton_Click_Play"
Name
=
"RadRibbonButton_Play"
IsEnabled
=
"True"
/>
<
telerik:RadRibbonButton
Text
=
"Stop"
Size
=
"Large"
LargeImage
=
"/Images/Stop.bmp"
Click
=
"RadRibbonButton_Click_Stop"
Name
=
"RadRibbonButton_Stop"
IsEnabled
=
"True"
/>
</
telerik:RadRibbonGroup
>
</
entities:RibbonInformation.RibbonGroups
>
</
entities:RibbonInformation
>
</
Views:CustomViewBase.RibbonInformation
>
private
void
RadRibbonButton_Click_Stop(
object
sender, RoutedEventArgs e)
{
this
.IsEnabled =
false
;
MessageBox.Show(
"Stop Button Pressed"
);
}
private
void
RadRibbonButton_Click_Play(
object
sender, RoutedEventArgs e)
{
this
.IsEnabled =
false
;
MessageBox.Show(
"Play Button Pressed"
);
}
private
void
RadRibbonButton_Click_Back(
object
sender, RoutedEventArgs e)
{
this
.IsEnabled =
false
;
MessageBox.Show(
"Back Button Pressed"
);
}