Telerik Forums
UI for WPF Forum
1 answer
182 views

Hello Telerik Team,

How can I resize both thumbs in the slider?
I added a picture, where you an see it better.

I tried with changing width of ThumbStyle, which causes troubles. I cant move the bar completely to the left or right.

Thanks.

Vicky
Telerik team
 answered on 22 May 2020
1 answer
146 views

Hello,

Is there a way to remove only the 'AND' section in the grid view`s column filter?

Vladimir Stoyanov
Telerik team
 answered on 22 May 2020
5 answers
202 views

Hi:

   1.  How can I create a TOC with links that can go to its source section when I use Ctrl+click?

   2.  How can I create a TOC that ignores the previous pages (for example  : the first three pages)?

   3.  why I created a TOC ,when the document exported to a pdf file, something changed(see the attach files )

Martin
Telerik team
 answered on 21 May 2020
4 answers
129 views

I am not sure this is the place, but it's driving me crazy.

In my xaml code, when I click the code for RadComboBox, I get a popup (see attached image).

If I click the popup I am sent to the design view (see attached). When I click the xaml tab I am redirected back to the design view after seeing the xaml code for a split second.

Does anyone know waht it might be that is causing this behavior?

 

Thanks in advance!

Fredrik
Top achievements
Rank 1
Veteran
Iron
 answered on 21 May 2020
6 answers
149 views

Hi,

we are following all the tips from https://docs.telerik.com/devtools/wpf/controls/radgridview/performance/tips-tricks but we only get a poor performance when filling the grid.

Do you have any further tips for me? I can send a sample app to showcase our problem.

 

Greetings

Andre

Dinko | Tech Support Engineer
Telerik team
 answered on 20 May 2020
1 answer
222 views

I do not know if I have defined question correctly, sorry for my lack of experience. Application I work on have a TreeView that is connected to data source. Data is hierarchical. There are root element and every root element can have children. Any children can have multiple other children. I have figured out how to data bind and show hierarchical data. Problem is that I need to style treeview items. I have figured out how to set itemtemplate on root and children in xaml. But now I have two copies of item template. One in ItemTemplate and another in its's hierachical item template. But they are identical, as I understand MVVM this could be an issue when I try to implement something more complex. Is there some elegant way to have this defined in one place and then shared on item template root and then it's children?

Here is the code of my TreeView in XAML:

<HierarchicalDataTemplate x:Key="HostsTemplatekey" ItemsSource="{Binding Children}"  >
                <StackPanel Orientation="Horizontal"  telerik:RadContextMenu.ContextMenu="{StaticResource TreeViewContextMenu}" >
                    <iconPacks:PackIconFeatherIcons Kind="Trash2" Width="20" Height="20" Visibility="{Binding Converter={StaticResource FileTypeToIconPackVisibilityConverter}, ConverterParameter= 3}" />
                    <TextBlock Width="10" />
                    <Grid>
                        <TextBlock Text="{Binding cityname}" VerticalAlignment="Center" FontSize="{StaticResource BaseCaptionFontSize }" />
                    </Grid>
                </StackPanel>
 
                <HierarchicalDataTemplate.ItemTemplate>
 
                    <HierarchicalDataTemplate ItemsSource="{Binding Children}"  >
                        <StackPanel Orientation="Horizontal"  telerik:RadContextMenu.ContextMenu="{StaticResource TreeViewContextMenu}">
                            <iconPacks:PackIconFeatherIcons Kind="Trash2" Width="20" Height="20" Visibility="{Binding Converter={StaticResource FileTypeToIconPackVisibilityConverter}, ConverterParameter= 3}" />
                            <TextBlock Width="10" />
                            <Grid>
                                <TextBlock Text="{Binding cityname}" VerticalAlignment="Center" FontSize="{StaticResource BaseCaptionFontSize }" />
                            </Grid>
                        </StackPanel>
 
                    </HierarchicalDataTemplate>
                </HierarchicalDataTemplate.ItemTemplate>
            </HierarchicalDataTemplate>
             
             
                <telerik:RadTreeView
                            Name="dgCities" Margin="10"
                            ItemsSource="{Binding data.CitiesCollection}"
                            IsEditable="True"
                            ItemTemplate="{StaticResource HostsTemplatekey}"
                            SelectedItem="{Binding data.SelectedCity, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
                            IsDragDropEnabled="True"
                            />

 

 

 

Vladimir Stoyanov
Telerik team
 answered on 20 May 2020
1 answer
203 views
In the native Microsoft.Win32.OpenFileDialog, there is a property called CheckFileExists, which can be set to false to allow you to choose a file that doesn't exist from the open dialog for being able to make new files. But RadOpenFileDialog seems to require a file to exist and I'm not seeing an equivalent for this in RadOpenFileDialog. Is there an equivalent or some way to get this behavior?
Dinko | Tech Support Engineer
Telerik team
 answered on 20 May 2020
1 answer
169 views

I have different shapes which I drag from toolbox to diagram.

For example:

-Shape.name1 

-Shape.name2

-Shape.name3

What I want to do is on the diagram:

Move Shape1 to shape 2. So, Shape 1 bottom is connected to shape 2 top. (without connectors)

Shape 3 top should be only allowed to dock on shape 2 bottom.

All shapes have the same size.

Can anybody provide me some code examples for this?

fewfew
Top achievements
Rank 1
 answered on 20 May 2020
32 answers
1.1K+ views
Hello,

How can I get hold of a reference to the Filter popup and the Filter button? The reason I need this is that I want to respond to the click event of the button by closing the Filter popup.

I do not want to use the Filtered event on the RadGridView as that one is raised even when clicking on the check boxes.

I suppose using FindName on the Template would get the job done, but what is the template name for Filter popup?

Thank you.
Dinko | Tech Support Engineer
Telerik team
 answered on 20 May 2020
2 answers
167 views

I have  a Telerik gridview, with visible columns, works fine.  I now want to add column groups as in the example on

https://docs.telerik.com/devtools/wpf/controls/radgridview/columns/column-groups

 

But when I added columngroups-tag and some column groups, it results in a grid with only the column groups as headers and

the real column headers are gone. See attachment for my markup

Robert
Top achievements
Rank 1
Veteran
 answered on 19 May 2020
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?