Telerik Forums
UI for WPF Forum
0 answers
121 views

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>

Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 08 Mar 2022
1 answer
111 views

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.

 

Tanya
Telerik team
 answered on 07 Mar 2022
1 answer
135 views

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.

Tanya
Telerik team
 answered on 07 Mar 2022
1 answer
122 views

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

Martin Ivanov
Telerik team
 answered on 07 Mar 2022
1 answer
98 views
 


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.

 

Dilyan Traykov
Telerik team
 answered on 07 Mar 2022
2 answers
138 views

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?

Marco
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 03 Mar 2022
1 answer
356 views

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

Martin Ivanov
Telerik team
 answered on 02 Mar 2022
1 answer
554 views

Hello,

I want programmatically expand/collapse cards when the item source of the card view changed.

Can you advise me an event to do that?

regards,

Tobias

Stenly
Telerik team
 answered on 02 Mar 2022
2 answers
119 views

Hello.

An example of Select Single Item in Hierarchy in GridView is in SDK.

I changed the xaml property 'SelectionMode' but it didn't work.

How do I solve this?

And is it possible to change it with mvvm? I have to use other views as well.

Thanks.

Psyduck
Top achievements
Rank 5
Bronze
Bronze
Bronze
 answered on 02 Mar 2022
0 answers
116 views

Hi,

Lokking for a way to drag a shape with hollow figure.

I want to know if it is possible to redefine the drag area(center) in RadDiagramShape with a container like function.

As a sample below, Want to drag an empty area(circle center) to the hollow circle

private void InitializeShapeModels()
{
   this.ShapeModels = new ObservableCollection<ShapeGalleryItemViewModel>();
   this.ShapeModels.Add(new ShapeGalleryItemViewModel(){ CustomGeometry = ShapeFactory.CommonGeometries[CommonShapeType.EllipseShape]});
   GeometryGroup ellipses = new GeometryGroup();
   ellipses.Children.Add( new EllipseGeometry(new Point(50, 50), 50, 50));
   ellipses.Children.Add( new EllipseGeometry(new Point(50, 50), 45, 45));

   Geometry emptyellipses = PathGeometry.CreateFromGeometry(ellipses);
   this.ShapeModels.Add(new ShapeGalleryItemViewModel() { CustomGeometry = emptyellipses });
}

Dooly
Top achievements
Rank 1
Iron
 asked on 02 Mar 2022
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?