• .NET

    Control Implicit Styles or “Where is My ComboBox.xaml” of RadControls for Silverlight and WPF

    It is gone… Merged in Telerik.Windows.Controls.Input.xaml. But you can still extract it, just read on. A while back ago we have released the styles for all our controls and themes of the RadControls for Silverlight and WPF suites as ResourceDictionary xaml files containing implicit styles. Currently they could be merged in the App.xaml files of your application and would apply globally. Of course there is more information available in the help sections: Implicit styles Silverlight Implicit styles WPF Some of the benefits are that the styles are no longer hidden in a dll’s resources but rather exposed in your application. And so it is easier to re-style some of the controls or...
  • .NET

    GroupBox and Label Controls and Tooltip Themes in 2011.Q1 RadControls for Silverlight and RadControls for WPF

    February 22, 2011 Share
    These are controls that exist in one form or another in most of the other suites so we had some client requests to add them in our Silverlight / WPF suite too. In WPF you have GroupBox, Label and ToolTip in the presentation framework however we had no themes for them. In Silverlight there is only ToolTip. GroupBox and Label We have created GroupBox and Label in Telerik.Windows.Controls assembly. In WPF they extend the existing GroupBox and Label controls and only add themes. In Silverlight they extend HeaderedContentControl and ContentControl. How you can use them: <Grid x:Name="LayoutRoot" Background="#FF222222">     <telerik:GroupBox Header="Personal Information" Width="300" HorizontalAlignment="Center" VerticalAlignment="Center">         <Grid>             <Grid.ColumnDefinitions>                 <ColumnDefinition Width="Auto" MinWidth="80" />                 <ColumnDefinition Width="*" />...
  • .NET

    Using Transitions with RadTransitionControl and TransitionPresenter in RadTabControl

    A few developers asked how to use the RadTransitionControl to enable transition effects in their applications especially in RadTabControl. The RadTransitionControl and TranisitionPresenter can be used instead of ContentControl and ContentPresenter to enable some animations when their content changes. Source Code RadTabControl usually have some RadTabItems and displays the Headers of the RadTabItems with ItemsPresenter and the Content of the Selected RadTabItem in a ContentPresenter. So if we edit the template of the RadTabControl and replace the ContentPresenter with TransitionPresenter the content should switch with animation when you go from one tab to another. It’s easier to use RadTransitionControl than TransitionPresenter but the Presenter is more lightweight than the Control. We will demonstrate how to use the RadTransitionControl first....
  • .NET

    Changing Silverlight application themes at runtime

    We have received a lot of questions how can the application theme be changed at run time. The most important thing here to mark is that each time the application theme is changed all the controls should be re-drawn. Without going into too much detail, we could explain the application themes as a mechanism to replace the content of the Generic.xaml file in every loaded Telerik assembly at runtime. This does not affect the controls that already have default style applied, hence the need to create new instances. Because in the Silverlight applications the RootVisual cannot be changed at run time, we...