<telerik:RadTabControl x:Name="tabBottomTabPanel" Grid.Row="2" ItemsSource="{Binding BottomTabs}" SelectedItem="{Binding SelectedBottomTab}"> </telerik:RadTabControl>private ObservableCollection<RadTabItem> _BottomTabs; public ObservableCollection<RadTabItem> BottomTabs { get { return _BottomTabs; } set { if (_BottomTabs != value) { _BottomTabs = value; RaisePropertyChanged("BottomTabs"); } } } private RadTabItem _SelectedBottomTab = null; public RadTabItem SelectedBottomTab { get { return _SelectedBottomTab; } set { if (_SelectedBottomTab != value) { _SelectedBottomTab = value; RaisePropertyChanged("SelectedBottomTab"); } } }private void setupBottomTabs() { RadTabItem tabA = new RadTabItem { Header = "Tab A" }; RadTabItem tabB = new RadTabItem { Header = "Tab B" }; RadTabItem tabC = new RadTabItem { Header = "Tab C" }; BottomTabs = new ObservableCollection<RadTabItem>(); BottomTabs.Add(tabA); BottomTabs.Add(tabB); BottomTabs.Add(tabC); } 
using Telerik.Windows.Controls.ScheduleView; using Telerik.Windows.DragDrop.Behaviors; namespace DragDrop { public class AppointmentConverter : DataConverter { /// <summary> /// Returns a list of all formats that the data in this data object can be converted to. /// </summary> public override string[] GetConvertToFormats() { string assemblyName = typeof(Appointment).AssemblyQualifiedName; return new string[] { assemblyName }; } /// <summary> /// Retrieves a data object in a specified format; the data format is specified by a string. /// </summary> public override object ConvertTo(object data, string format) { if (DataObjectHelper.GetDataPresent(data, typeof(ScheduleViewDragDropPayload), false)) { ScheduleViewDragDropPayload payload = (ScheduleViewDragDropPayload)DataObjectHelper.GetData(data, typeof(ScheduleViewDragDropPayload), false); if (payload != null) { return payload.DraggedAppointments; } } return null; } } }
I cannot drag a CustomAppointment (as coded in the Telerik Demo)
back to a list box from a schedule view. No exception or error,
it just simply doesn't let me (cursor icon changes to a 'not
permitted' icon).
I want the menus of my RADMenu to appear instantly.
No scrolling or fading in - the menus should just pop up instantly when I click on a RadMenuItem.
What is the most simple way to do this?
In the following piece of code I'm loading some RTF text into a telerik RadRichTextBox. Does anyone know how to set the text control to wrap the text to the box width? Take into account that the sample code is part of a DataTemplate in the resources section of a window, therefore variable _reportRTFBox is not available in window code behind
<Grid><Grid.RowDefinitions> <RowDefinition/> <RowDefinition /></Grid.RowDefinitions><telerikProvider:RtfDataProvider Grid.Row="1" Rtf="{Binding ReportToDistributeRTF}" RichTextBox="{Binding ElementName=_reportRTFBox}" /><telerik:RadRichTextBox Grid.Row="0" x:Name="_reportRTFBox" MaxHeight="200" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" IsReadOnly="True"/>
Many thanks,
Juanjo

StyleManager.ApplicationTheme = new MetroTheme();var findResource = FindResource("BaseColor");if (findResource != null) MetroColors.PaletteInstance.AccentColor = (Color)findResource;I am not able to get the scrolling working on RadPanes which are loaded using Prism's region manager onto a RadGroup.
Here is the main shell window which is hosting RadDock
<Grid>
<telerik:RadDocking AllowUnsafeMode="True" Grid.Row="1">
<telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer>
<telerik:RadPaneGroup prism:RegionManager.RegionName="{x:Static CommonUI:Constants.RegionShellCenter}" />
</telerik:RadSplitContainer>
</telerik:RadDocking.DocumentHost>
<telerik:RadSplitContainer InitialPosition="DockedRight" Width="600" > <telerik:RadPaneGroup prism:RegionManager.RegionName="{x:Static CommonUI:Constants.RegionShellRight}"/> </telerik:RadSplitContainer></telerik:RadDocking> </Grid>
<telerik:RadPane x:Class="MyNamespace.ReservoirDataPane" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:prism="http://www.codeplex.com/prism" xmlns:local="clr-namespace:MyNamespace" Header="Reservoir"> <local:ResPropControl/> </telerik:RadPane>[Export] public partial class ReservoirDataPane : RadPane { }
I tried having Scroll around the RadPaneGroup and then inside RadPane around the local usercontrol. I also tried enabling it in the
Grid inside the usercontrol. None of this worked. Any help will be greatly appreciated. Thanks.