Hi,
Lets's say I have a TreeListView as such:
Group #1
Item 1-1
Item 1-2
Group #2
Item 2-1
Item 2-2
I need the user to be able to select one or both items under a Group - but NOT the group itself (there's reasons for it, that I don't need to get into).
How would I do that ?
Barry
I am adding image to the radtreeviewitem from resources programatically using the below code.
"/myAssembley;component/Resources/image1.png"
and the image is displaying successfully. Now i need to add another image which needs to be displayed next to the first image in the radtreeviewitem.
Is it possible..???If so how to achieve it.?
Like the below attached image i need my treeviewitem to display a folder icon and a red square icon in a single treeview item.[
I am having a treeview in a usercontrol and am trying to bind the node image .But it only works if i gave the entire full path of the image. Finally i found out if a treeview is inside an usercontrol relative paths wont work. So how can i assign am image to a node which was inside the user control..??/
DefaultImageSrc="/MyOtherProject;component/Images/File.png".
the above will work for usercontrol they have mentioned. Can it be explained ..? whats MyOtherProject,component etc.
Note:
My usercontrol was in the same project in which i work.My solution name is TreeView_WPF_Customized and the image was inside the Resources folder.
How to display the image my scenario..??
Hi am adding new tree view items in a rad treeview programatically like below
RadTreeViewItem itm =
new
RadTreeViewItem();
itm.Header =
"Demo"
;
itm.DefaultImageSrc =
"/Resources/8.png"
;
but the image is not visible in the treeview .It only displays if i gave the full path of my solution .But its not possible for real time.I need to map the images from the resources folder of my project .How to achieve it..??
Thanks
Arshad
Hallo everyone,
how about a Property for the DateTimePicker that can switch on(true) / off (false) for writing in null values. In my case, I don't/can't set the InputField to disable but the user should not be allowed to set the date to null. It would be awesome if the Picker sets its own value automatically to the last valid value by loosing the focus. if there is in the beginning no value in the field its automatically set to the date of today.
I mean something like the winforms feature:
datePicker.NullDate = ...
Basically, I am trying to create my own DragAndDropProvider, and tried to created my own DragVisual during DragAndDrop events. And I find the best visual for DragAndDrop is the Separator visual effect from built-in support. So I set the default property "IsDragDropEnabled = True" in my RadTreeView, but it seems if I do so, my DragAndDropProvider won't trigger anymore.
The XAML code looks like this:
<telerik:RadTreeView x:Name="ReportTreeView"
Grid.Row="1"
IsEditable="True"
ItemsSource="{Binding Pages}"
ItemDoubleClick="ReportTreeView_OnItemDoubleClick"
Selected="ReportTreeView_OnSelected"
ItemContainerStyle="{StaticResource PageStyle}"
IsDragDropEnabled="True"
uxHelpers:PageDragAndDropProvider.IsEnabled ="True">
What should I do to benefit from both the customized DragAndDropProvider and built-in DragDrop Separator?
Thanks,
Mingxue.
Hi,
I am using RadTreeView and trying to support DragDrop behavior in it. At the moment, I am writing my own DragDropProvider. I want to provide options when user release/drop, so that they can choose Copy/Move/Cancel etc.
Is there any resources to help me achieve that?
Many thanks,
Mingxue
Please see the StackOverflow post here:
http://stackoverflow.com/questions/37794073/filtering-a-combobox-with-a-groupstyle