When working with the RichTextBox together with the Ribbon UI, changing the text alignment in the table style does not seem to work for any "Apply formatting to" OTHER THAN "Whole Table". Here are the steps to reproduce this issue:
1. Open the TelerikUI for WPF Demo.
2. Navigate to the RichTextBox Editor example.
3. Add a table to the document.
4. Apply a style to the table.
5. Edit the applied style.
6. Select Header Row (or anything other than Whole Table) in the Apply formatting to combo box.
7. Change the text alignment. Does not effect table.
8. Select Whole Table in the Apply formatting to combo box.
9. Change the text alignment. Does effect table.
Am I missing something or is this, dare I say, a bug?
Hi,
I am using RadDropDownButton and RadDropDownContent has a grid with a message and RadGridView. RadGridview has a single column which has data template that render checkboxes for the elements in list to which this column is bound to. I get an additional space / extra column at the end of the radgridview. When I try to remove this column by setting width of the only property to * or set columnwidth of radgridview to * as suggested in the forums, the grid just keeps on flickering. I seem to be missing something very simple. Any help on removing this extra space is appreciated..
XAML -
<Window x:Class="MainWindow"
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"
Title="MainWindow" Height="350" Width="525">
<telerik:RadDropDownButton DropDownIndicatorVisibility="Collapsed"
Height="25"
Width="25"
ToolTip="Configure Column Set"
Padding="0"
HorizontalContentAlignment="Left"
Margin="0,0,6,0"
IsOpen="{Binding IsDropDownContentOpen, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
Command="{Binding ConfigureColumnSetCommand}">
<telerik:RadDropDownButton.DropDownContent>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
</Grid.ColumnDefinitions>
<!-- Configure Column Set Text-->
<TextBlock x:Name="txtConfigColumnSetMsg"
Text="Select columns to be visible in grid" />
<!-- Configure Column Set Grid -->
<telerik:RadGridView x:Name="grdConfigureColumnSet"
ItemsSource="{Binding ColumnSet,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
Grid.Row="1"
ShowGroupPanel="False"
ShowInsertRow="False"
CanUserDeleteRows="False"
CanUserFreezeColumns="False"
RowIndicatorVisibility="Collapsed"
AutoGenerateColumns="False"
SelectionMode="Single"
AutomationProperties.AutomationId="grdConfigureColumnSet"
ScrollViewer.HorizontalScrollBarVisibility="Hidden"
ScrollViewer.IsDeferredScrollingEnabled="False"
ScrollViewer.CanContentScroll="False"
CanUserReorderColumns="False"
CanUserSortColumns="False"
CanUserSortGroups="False"
IsFilteringAllowed="False" >
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn
IsReadOnly="True"
DataMemberBinding="{Binding IsSelected,UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
Width="*">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding IsSelected,Mode=TwoWay,UpdateSourceTrigger= PropertyChanged}"
Content="{Binding Name}" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
</Grid>
</telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>
</Window>
Code behind -
Class MainWindow
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Me.DataContext = New MyViewModel
End Sub
End Class
Public Class MyViewModel
Public Sub New()
ColumnSet.Add(New ColumnItem With {.Name = "Col1", .IsSelected = False})
End Sub
Public Property ColumnSet As New List(Of ColumnItem)
End Class
Public Class ColumnItem
Public Property Name As String
Public Property IsSelected As Boolean
End Class
Regards,
Sreeni.
Hi,
I am using RadCartesianChart and I am having logarithmic axis, but as it is to expect I have a lot of space from 125 to 250 for instance and little space from 8000 to 10000. I am wondering if I can customize the intervals visually, like on a grid where you adjust the column width.
I attached a screenshot of how it looks like right now
Thanks!
Hi telerik,
We are plotting ScatterlineSeries on a RadCartesianChart. Works well.
However, as we plot several series in same chart, our users request a tooltip with differents units. For example I got the TooltipTemplate following:
<
DataTemplate
x:Key
=
"MomentTooltipTemplate"
>
<
Grid
Height
=
"56"
Width
=
"150"
SnapsToDevicePixels
=
"True"
>
<
Path
Data
=
"M0,0 L128.99968,3.4450557E-14 128.99968,36.850185 11,36.850185 8,40 5,36.850185 0,36.850185 z"
Stretch
=
"Fill"
Fill
=
"{Binding Presenter, Converter={StaticResource PaletteExtractorConverter}}"
Stroke
=
"White"
StrokeThickness
=
"1"
SnapsToDevicePixels
=
"True"
HorizontalAlignment
=
"Center"
Width
=
"150"
/>
<
Grid
Margin
=
"5,3,5,9"
Height
=
"45"
SnapsToDevicePixels
=
"True"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"15"
/>
<
RowDefinition
Height
=
"15"
/>
<
RowDefinition
Height
=
"15"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Text
=
"{Binding DataItem.SeriesName}"
Foreground
=
"White"
FontFamily
=
"Segoe UI"
FontSize
=
"11"
VerticalAlignment
=
"Center"
Margin
=
"0"
/>
<
TextBlock
Text
=
"{Binding DataItem.Y, ConverterCulture=fr-FR, StringFormat=Load: \{0:N2\} kN.m}"
Foreground
=
"White"
FontFamily
=
"Segoe UI"
FontSize
=
"11"
Margin
=
"0"
Grid.Row
=
"1"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Left"
/>
<
TextBlock
Text
=
"{Binding DataItem.X, StringFormat=Distance: \{0:N2\} m}"
Foreground
=
"White"
FontFamily
=
"Segoe UI"
FontSize
=
"11"
Margin
=
"0"
VerticalAlignment
=
"Center"
Grid.Row
=
"2"
/>
</
Grid
>
</
Grid
>
</
DataTemplate
>
and the second one :
<
DataTemplate
x:Key
=
"AnnotationTemplate"
DataType
=
"telerik:DataPoint"
>
<
Grid
Height
=
"56"
Width
=
"111"
SnapsToDevicePixels
=
"True"
>
<
Path
Data
=
"M0,0 L110,0 110,36.850185 11,36.850185 8,40 5,36.850185 0,36.850185 z"
Stretch
=
"Fill"
Fill
=
"{Binding Presenter, Converter={StaticResource PaletteExtractorConverter}}"
Stroke
=
"White"
StrokeThickness
=
"1"
SnapsToDevicePixels
=
"True"
/>
<
Grid
Margin
=
"4,2,5,10"
Width
=
"100"
Height
=
"45"
SnapsToDevicePixels
=
"True"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"15"
/>
<
RowDefinition
Height
=
"15"
/>
<
RowDefinition
Height
=
"15"
/>
</
Grid.RowDefinitions
>
<
TextBlock
Text
=
"{Binding DataItem.SeriesName}"
Foreground
=
"White"
FontFamily
=
"Segoe UI"
FontSize
=
"11"
VerticalAlignment
=
"Center"
Margin
=
"0"
/>
<
TextBlock
Text
=
"{Binding DataItem.Y, StringFormat=Load: \{0:N2\} kg}"
Foreground
=
"White"
FontFamily
=
"Segoe UI"
FontSize
=
"11"
Margin
=
"0"
Grid.Row
=
"1"
VerticalAlignment
=
"Center"
/>
<
TextBlock
Text
=
"{Binding DataItem.X, StringFormat=Distance: \{0:N2\} m}"
Foreground
=
"White"
FontFamily
=
"Segoe UI"
FontSize
=
"11"
Margin
=
"0"
VerticalAlignment
=
"Center"
Grid.Row
=
"2"
/>
</
Grid
>
</
Grid
>
</
DataTemplate
>
x axes is the same for all series, but not y axes, for some series y-axe is kg and for some other it's kN.m. See attached files to see what I had and what i'd like.
Is it possible to do that with telerik or not ?
Thanks
Regards
I have a LogarithmicAxis that has a minimum of 125 and maximum of 16000 but I need it to start at 0 and then go to 125,250... But as it is Logarithmic, if I put minimum to 0 I will have 0, 2,4...
How can I achieve this?
Hi,
I am using a RadCartesianChart and for my Horizontal Axis I need to set the values manually, without a range, like this:
0; 125; 1000; 3000; 8000; 12000 and 16000
How can I do that?
Hi,
I use the RadDiagram to show a program flow. It works well, but I'd like to filter which content can and can't be pasted.
For example, certain custom shapes should only occur once in the flow.
Is there a way to disallow some items to be pasted?
Kind regards