Telerik Forums
UI for WPF Forum
3 answers
258 views

Hi, 

I'm working with a RadTreeview binded to an ObservableCollection.

All is fine, until I add a new item in my collection, a new row is created, but the left arrow (to expand) doesn't appear. 

I have to expand with a double click to let it appear. After that all is fine.

Can someone help me ? 

 

Thanks, 

Benoit.

01.<telerik:RadTreeView ItemsSource="{Binding Directories}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}" Grid.Row="1" Background="White">
02.            <telerik:RadTreeView.ItemContainerStyle>
03.                <Style TargetType="telerik:RadTreeViewItem">
04.                    <Setter Property="HorizontalContentAlignment" Value="Stretch" />
05.                </Style>
06.            </telerik:RadTreeView.ItemContainerStyle>
07.            <telerik:RadTreeView.ItemTemplate>
08.                <HierarchicalDataTemplate ItemsSource="{Binding FilesList}">
09.                    <Grid HorizontalAlignment="Stretch">
10.                        <Grid.ColumnDefinitions>
11.                            <ColumnDefinition Width="*"></ColumnDefinition>
12.                            <ColumnDefinition Width="Auto"></ColumnDefinition>
13.                        </Grid.ColumnDefinitions>
14.                        <TextBlock Grid.Column="0" Text="{Binding Name}" VerticalAlignment="Center"/>
15.                        <Button Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Center" Content="Export">
16.                    </Grid>
17.                </HierarchicalDataTemplate>
18.            </telerik:RadTreeView.ItemTemplate>
19.        </telerik:RadTreeView>
Martin Ivanov
Telerik team
 answered on 28 Jun 2017
1 answer
126 views

I am allowing the user to pan & zoom on the graph, for example through the following:

ChartArea.ZoomScrollSettingsX.ScrollMode = ScrollMode.ScrollAndZoom;

At some point, I set the ScrollMode back to ScrollMode.None and want to reset the ranges of the X & Y axes. I want the ranges to be calculated in the fashion they were when the data were originally drawn.

How can I get the ChartView to recalculate the axis ranges?

Please note that I may add data to the chart before triggering the recalc so just remembering range values before pan/zoom and setting them afterwards won't be sufficient.

Martin Ivanov
Telerik team
 answered on 28 Jun 2017
1 answer
93 views

I would like to be able to modify the list of operators in my field filter. I know I can do it in the way shown here:

 

http://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/how-to/howto-change-the-default-selected-filter-operator

 

But if I am creating my own custom GridViewDataColumn or FilterDescriptor class, is it possible to do it from inside one of those two classes, so I don't have to repeat the same event handlers for every RadGridView that I'm using them in?

Martin Ivanov
Telerik team
 answered on 28 Jun 2017
4 answers
141 views

Hello Telerik Team,

                              I have one problem in my WPF project. I was getting issues when we select more than 6000 documents from radgridview after select these documents i was selecting 1 documents . so it was taking near about 45 seconds time to select the single document. so from telerik team someone suggested to update the telerik versions with the newer one. after upgradation all the radmenuitems were not working and some UI things also not working,i have attached the snapshots of the radmenuitems. what i have to do for it to fix these issues.

 

Regards

Raju Tiwari

Stefan
Telerik team
 answered on 28 Jun 2017
2 answers
152 views

Hi all,

I have a RadPieChart with some values, I have a legend with the name of this values and I need set a tooltip to each slide with the names i have in this legend, but i nee do it programatically in C#.

I tried do it with the nameof List<string> that i have to set the legends, but i have no success.

 

RadChart.Series[0].LabelDefinitions.Add(new ChartSeriesLabelDefinition()
            {
                Margin = new Thickness(-5, 0, 0, 0),
                Binding = new PropertyNameDataPointBinding(SeriesName[0])
            });

            RadChart.Series[0].LegendSettings = new DataPointLegendSettings();
            RadChart.Series[0].LegendSettings.TitleBinding = new PropertyNameDataPointBinding(CategoryName);

            RadChart.Series[0].ToolTip = new PropertyNameDataPointBinding(CategoryName); 

Martin Ivanov
Telerik team
 answered on 28 Jun 2017
3 answers
475 views

Hi,

I am using RichTextBox in GridView which is read-only so I want to change cursor style to Arrow. I tried to add Cursor="Arrow" but without success.

Boby
Telerik team
 answered on 28 Jun 2017
6 answers
164 views
i'm discovering the Telerik Diagram framework to create a datatable diagram tool.

I would like to add an "entity" who contain 2 lists : dataIn and dataOut.

Each element in dataIn/dataOut has 2 connectors (1 for input, 1 for output)

Rules :

- dataIn ouput connector (green in capture) can connect only to dataOut input connector (green in capture) in the current entity

- dataOut ouput connector (blue in capture) can connect only to dataIn input connector (red in captire) in other entity



what should i use to create an entity : ContainerShape ? Could i define 2 items list ? or i should use 2 ContainerShape in 1 user control ?

how can i block connector between dataIn ouput and dataOut input ?

how can i personnalize connector shape ?

If you have some examples ? 

thanks for your time and your response

Nicolas
nicolasf
Top achievements
Rank 2
 answered on 28 Jun 2017
1 answer
196 views

The customer has requested the ability to highlight particular cells in a row to copy paste--is this possible?

Secondly, they would also like to do this when selecting multiple rows.  To me, this interaction doesn't seem possible, but is it?

Martin Ivanov
Telerik team
 answered on 28 Jun 2017
0 answers
187 views

Hi,

I asked this question in GridView forum but nobody get feedback!

please help me to fix it.

In my GridViewDataColumn I set following CellTemplate:
 
<StackPanel Orientation="Horizontal">
      <telerik:RadComboBox IsEditable="True" x:Name="rcb" 
                           DisplayMemberPath="Name" 
                           Loaded="RadComboBox_Loaded" 
                           Text="{Binding State, Mode=TwoWay}" Width="100"/>

      <TextBlock Text="{Binding ElementName=rcb, Path=Text}" Margin="2 0" Width="100"/>
</StackPanel>


and the RadCombobox Items can be Following Values:
VeryBad, Bad, Good Plus, Good Neg, Good, ...

I set value of the first cell to Good
(=> RadComboBox and TextBlock Both show Good)
but when I scrolling 
the text of RadCombobox change to Good Plus
but TextBlock Shows Good.

My Solution:
https://www.mediafire.com/?2v5p21y6k8w0a7o


Ahmad
Top achievements
Rank 1
 asked on 28 Jun 2017
2 answers
319 views

Hello,

i used your example of the documentation, about the RadCollectionNavigator, but I did not found any information how to autoscroll the Listbox, if the MovetoNextButton or MoveToLastItem is clicked and the Listbox size is to small to show all item without scrollbar.

Does the Controls have such kind of feature out of the box and best case MVVM friendly? Or do you have any suggestion how to implement this feature for a good customer experience? If possible I would like to avoid the datapager control.

Best regards,

Dirk

Dirk
Top achievements
Rank 1
 answered on 27 Jun 2017
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?