<telerik:RadGridView
AutoGenerateColumns="False"
CanUserFreezeColumns="False"
CanUserResizeColumns="False"
CanUserSortColumns="True"
CanUserSortGroups="False"
GroupRenderMode="Flat"
IsReadOnly="True"
RowIndicatorVisibility="Collapsed"
ShouldCloseFilteringPopupOnKeyboardFocusChanged="True"
ShowColumnSortIndexes="True"
ItemsSource="{Binding Tasks}">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Phone}" Header="Phone" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Hello,
I'm developing an application that is based on fluent theme but should not use the ripple effect.
Therefore I followed instuctions in Fluent Theme article and placed in resouces of my MainWindow.xaml
<Window.Resources>
<Style TargetType="mat:FluentControl" >
<Setter Property="IsRippleEnabled" Value="False" />
</Style>
</Window.Resources>
Basically this is working fine. On controls like Buttons or NavigationView the effect disappears. Unfortunately I noticed, that in RadListBox the ripple effect is still active when mouse is over an item of the list.
I attached a small example. It contains just a listbox and a button. Fluent theme is set and ripple should be disabled. For button it works fine. Listbox items still showing the effect.
How can I disable the ripple effect also for listbox items?
Thanks and regards
Philipp
Hi there,
I am looking for a way to programmatically deselect the current selected row by clicking on it. I do not wish to use the ToggleRowDetailsColumn.
Here is the logic I wish to implement:
if (clickedItem == this.gridView.SelectedItem)
{
this.gridView.SelectedItems.Clear();
}
else
{
this.gridView.SelectedItem = clickedItem;
}
Thanks
Not all my items are displayed and I don't have a scroller,
Would appreciate help
<telerik:RadGridView
AutoGenerateColumns="False"
CanUserFreezeColumns="False"
CanUserResizeColumns="False"
CanUserSortColumns="True"
CanUserSortGroups="False"
GroupRenderMode="Flat"
IsReadOnly="True"
RowIndicatorVisibility="Collapsed"
ShouldCloseFilteringPopupOnKeyboardFocusChanged="True"
ShowColumnSortIndexes="True"
ItemsSource="{Binding Tasks}">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Phone}" Header="Phone" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Hi,
I created a new file in the RadRichTextBox , edited some text and set the style as header, then referenced the table of contents in the file.
The table of contents line is displayed as a dotted line. When I save the file as PDF, the dotted line becomes a straight line.
Hi,
When I open the file with RadRichTextBox and save it as a PDF file,the line in table of contents has disappeared.
I have uploaded the DOCX file as an attachment.
Hello,
Is it possible to select the grouping row in RadGridView or have the grouping row contain a column, that can set the value to all the rows in the group- for instance a bool value (check box) in the grouping row sets the same value in all the rows below?
Best regards
Hi,
Our request relates to the solution “LocalDataSourceSerialization_WPF“ on PivotGrid/Serialization/LocalDataSourceProvider in your git examples.
When we run the following scenario, we get an exception (see the attached video) :
1. Run The solution.
2. Click on “Sum of quantity” to open the menu.
3. Click on “More Calculation Options...”.
4. Choose “% Of”.
5. Choose “Date-Month” as the Base field and one of the Base Items for example “June”.
6. Press Ok.
7. Click on “Save”.
8. The system crashed with the following error (attached image).
We would be happy if you would guide us on how we could overcome the problem.
I use the RadGanttView. The GanttView is quit big and it has many items. The items are deletable. So I want to delete them with the DELETE key. I tried to add the "PreviewKeyDown" event and check if the delete Key is klicked. But the event isn't thrown.
<telerik:RadGanttView x:Name="GanttDiagramm" PreviewKeyDown="GanttDiagramm_OnKeyDown">
I use the Office2013 Theme.
I tried the same with a testproject. There the event is thrown sometimes. But not everytime. Quiet curios.
How can I delete a collection of items with the DEL-Key?
Hi Team,
I moved from WPF Toolkit to Telerik
But here I am facing some issues with few tools
IntegerUpDown, DecimalUpDown, DoubleUpDown, WatermarkComboBox
I am pasting my previous properties which I am looking here in Telerik
Kindly help me in this.
a) IntegerUpDown
<xctk:IntegerUpDown
MinWidth="90"
MaxWidth="{Binding ElementName=sv1,
Path=ActualWidth}"
Margin="1"
HorizontalAlignment="Stretch"
classes:DynamicContainerStyle.BaseStyle="{DynamicResource {x:Type xctk:IntegerUpDown}}"
AutomationProperties.AutomationId="ManfShelfLife"
FormatString="N0"
Increment="1"
Maximum="3650"
Minimum="0"
Visibility="{Binding RelativeSource={RelativeSource AncestorType=UserControl},
Path=DataContext.IsPerishable,
Converter={StaticResource BooleanToVisibilityConverter}}"
Value="{Binding Path=ShelfLife,
Mode=TwoWay,
ValidatesOnDataErrors=True,
UpdateSourceTrigger=PropertyChanged}">
b) DecimalUpDown
<xctk:DecimalUpDown
MaxWidth="100"
DefaultValue="0"
DisplayDefaultValueOnEmptyText="True"
Increment="0.1"
Maximum="{Binding DecimalMaxValue}"
Minimum="{Binding DecimalMinValue}"
Text="{Binding Qty,
ValidatesOnDataErrors=True,
Mode=TwoWay,
UpdateSourceTrigger=PropertyChanged}" />
c) DoubleUpDown
<xctk:DoubleUpDown
Width="{Binding RelativeSource={RelativeSource AncestorType=DataGridTemplateColumn},
Path=MaxWidth}"
HorizontalAlignment="Stretch"
Increment="0.1"
Maximum="200000"
Minimum="0"
IsEnabled="{Binding DataContext.IsMaterialInactive,
RelativeSource={RelativeSource AncestorType=UserControl},
Converter={StaticResource InverseBooleanConverter}}"
Text="{Binding RelativeSource={RelativeSource AncestorType=DataGridRow},
Path=DataContext.MinValue,
UpdateSourceTrigger=PropertyChanged,
ValidatesOnDataErrors=True,
Mode=TwoWay}" />
d) WatermarkComboBox
<xctk:WatermarkComboBox
Margin="0,15,0,0"
HorizontalAlignment="Stretch"
BorderBrush="Black"
ItemsSource="{Binding SelectedTemplate.TemplateWorkflows}"
SelectedItem="{Binding SelectedWorkflow}"
Style="{DynamicResource WatermarkComboBoxStyle}">
<xctk:WatermarkComboBox.Watermark>
<TextBlock
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="12"
Text="- Please Select -"
TextAlignment="Center" />
</xctk:WatermarkComboBox.Watermark>
<xctk:WatermarkComboBox.ItemTemplate>
<DataTemplate>
<ListBoxItem Content="{Binding Name}" ToolTip="{Binding Description}" />
</DataTemplate>
</xctk:WatermarkComboBox.ItemTemplate>
</xctk:WatermarkComboBox>
How to give Style in telerik, ResourceKeys are not there I am getting errors
Providing code which I want to get in Telerik
<Style x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type themes:ResourceKeys}, ResourceId=SpinnerButtonStyleKey}" TargetType="RepeatButton">
<Setter Property="Background" Value="{DynamicResource {x:Static themes:ResourceKeys.ButtonNormalBackgroundKey}}" />
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static themes:ResourceKeys.ButtonNormalOuterBorderKey}}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Padding" Value="2,2" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RepeatButton">
<Grid>
<xctk:ButtonChrome
x:Name="Chrome"
Background="Transparent"
BorderBrush="{StaticResource Black25Brush}"
CornerRadius="{DynamicResource {x:Static themes:ResourceKeys.SpinButtonCornerRadiusKey}}"
RenderEnabled="{TemplateBinding IsEnabled}"
RenderMouseOver="{TemplateBinding IsMouseOver}"
RenderNormal="True"
RenderPressed="{TemplateBinding IsPressed}"
SnapsToDevicePixels="true" />
<ContentPresenter
Margin="{TemplateBinding Padding}"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Regards,
Yogendra