Hello, we are using the RadRIchTextBoxes, in our WPF application in different Modules.
We are using it like a plain text box, but using the SpellCheck Feature to check the spelling of upper case. ( this.custNotesRichTextBox.SpellChecker.Settings.SpellCheckUppercaseWords = true;)
We use the context menu to get the spelling suggestions. But we do not want the user to use, Hyperlink, FONT, how do we disable this.
We wanted to see if we can disable in the main WPF application (where we add reference to the Telerik.Windows.Documents.Proofing.Dictionaries.En-US) than in each module. Because we feel customizing for each textbox would consume memory.
Please refer screenshot below.
Hello.
I'm making it using MVVM.
I've been asking questions before and got a lot of answers. Among them, a binding error is output.
Thanks.
I did all I can Still I cannot take away the line spacing after hitting "Enter", I could not get it working (looks like the DocumentInheritsDefaultStyleSettings is interfering?)
I have uploaded a sample project (that tells the behavior) as well.
Please find the code I used below.
<telerik:RadRichTextBox x:Name="custNotesRichTextBox"Hi,
When I am using the following code to show a splash screen using the RadSplashScreenManager, with StartupLocation = null, only the top left corner of the window is centered on the screen. I have the same behavior without customizing the SplashScreenDataContext :
var splashScreenDataContext = (SplashScreenDataContext)RadSplashScreenManager.SplashScreenDataContext;
splashScreenDataContext.ImageHeight = 300.0;
splashScreenDataContext.ImageStretch = Stretch.Uniform;
splashScreenDataContext.ImagePath = "/MyAssembly;component/Resources/MyImage.png";
RadSplashScreenManager.Show();
In the sample, your are using hard coded sizes (260 and 160) to calculate the StartupLocation of the splash screen :
private void ShowSplashScreen()
{
this.timer.Start();
Mouse.OverrideCursor = Cursors.Wait;
this.splashScreenDataContext = RadSplashScreenManager.SplashScreenDataContext as SplashScreenDataContext;
this.splashScreenDataContext.ImagePath = "/SplashScreen;component/SplashScreen.png";
this.splashScreenDataContext.IsIndeterminate = false;
this.splashScreenDataContext.Content = "Loading... 0%";
this.parentWindow.CanMove = false;
this.parentWindow.IsEnabled = false;
if (this.parentWindow.WindowState != System.Windows.WindowState.Maximized)
{
var x = this.parentWindow.Left + this.parentWindow.ActualWidth / 2 - 260;
var y = this.parentWindow.Top + this.parentWindow.ActualHeight / 2 - 160;
RadSplashScreenManager.StartupPosition = new System.Windows.Point(x, y);
}
RadSplashScreenManager.Show();
}
Hard coding the sizes of the window is obviously not ideal. Instead, the splash window should act like any Window with the property SizeToContent="WidthAndHeight".
Can you help ?
Hello,
I have some troubles for getting the RadDatePicker working as expected, while using the propertiy 'DisplayDateStart'. Here my code:
At the start, when I select a date from the first RadDatePicker (valid from), the other one is working correctly (see the ok.png). But if I choose another date (minor to the previous one) some date are still greyed out on the second control (Valid To, see the not_ok.png --> the date 1,2,3,4,5 cannot be selected). I'm not able to reproduce the same error on the other side, changing the valid to control.
Edit:
I found that these controls inherit implicity from a style that has:
<Setter Property="SelectableDateStart"
Value="{StaticResource MinimumAllowedDate}" />
<Setter Property="DisplayDateStart"
Value="{StaticResource MinimumAllowedDate}" />
where MinimunAllowedData is equal to <system:DateTime x:Key="MinimumAllowedDate">1/1/1900</system:DateTime>
Removing the SelectableDateStart solve the issue. Still not sure why is this behavior happening?
If I change the control in this way
I still get the error.
Are you aware of this behaviour? Or am I missing something? Thank you.
Hello everyone,
can anyone post me a simple xaml code snipset to add CheckBox items into a ComboBox?
I searched in the forum but there is no simple example.
I thought something like this
<telerik:RadComboBox>
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<kzv:KzvCheckBox/>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
<telerik:RadComboBoxItem Content="Test"/>
</telerik:RadComboBox>
But the CheckBox is still missing
Thanks for your help.
I am using CartersianChart and have a vertical BarSeries attached to it. Each bar in the series represent a numerical amount. I want to display a horizontal line across the chart at a particular amount so that it can quickly be seen which bars are above and which are below that amount. I'm looking for something similar to the red line in the attached image. Any insight you could give will be greatly appreciated.
Thanks,
George
Hello.
How do I set up the expanded configuration of the Treeview middle model only?
<telerik:RadTreeView.Resources>
<Style TargetType="telerik:RadTreeViewItem" BasedOn="{StaticResource RadTreeViewItemStyle}">
<Setter Property="IsExpanded" Value="True"/>
</Style>
</telerik:RadTreeView.Resources>
This is true for all of the lower layers.
When I first opened it, I only want to open it up to the middle level. (Attach an image)
Thanks.