Telerik Forums
UI for WPF Forum
0 answers
162 views

I'm using RadTreeView's drag drop feature to reorder/nest items.

The control has many features that I (drop preview line, TreeViewDragVisual, and tooltip).

However, I need to execute some complex reorder/nest/unnest logic for the actual drag/drop operation (guards, pre and post).

So far, I was able to implement my guards by binding the RadTreeViewItem.IsDropAllowed.

But have no idea how to run some code before and after a drag/drop.

 

My questions:

1. Is it possible to invoke a command for a drag/drop operation, instead of automatically manipulating the bound collection?

2. Which events do I listen to before and after (collection is modified) a drag/drop operation? DragStarted and DragEnded events have been marked obsolete.

 

And if there is a workaround (custom implementation of drag/drop), can I continue using the other features of RadTreeView (drop preview line, TreeViewDragVisual, and tooltip)?

 

Thanks

minchew

MC
Top achievements
Rank 1
 asked on 06 Aug 2018
0 answers
140 views

I am creating a RadCartesianChart3D with multiple series of data. I was looking at the documentation for the control, and I didn't see a way to include a legend for the graph.

Is there a way to add a legend to the graph that just has the series name and corresponding color?

Additionally, I want to have a few graphs that use a "Heatmap" legend. I've attached a sample image of the way I want the legend to work, but it is essentially a liner gradient with labeled intervals on the gradient. 

If there is an inbuilt way to include a Heatmap as the legend, I would like to know. Otherwise if someone has implemented a similar type of legend, how did you accomplish it?

Matthew
Top achievements
Rank 1
 asked on 03 Aug 2018
1 answer
956 views

Hello Telerik,

I want Rad.ComboBox to be edited, i.e. I want to be able to search and select an item inside the combobox and also in case I don't have an item inside the combo, I would like to be able to type the new value and be able to bind the new item to save later.

What happens right now is that when the item I am looking for is not in combobox, as soon as I leave the combo the value inside the combobox is lost!

My question is how can I keep the search and auto-complete ability inside the combobox and also be able to keep the typed value?

Please answer asap.

Best Regards

Kourosh

Dinko | Tech Support Engineer
Telerik team
 answered on 03 Aug 2018
1 answer
159 views
When I explore the examples for the RadRichTextBoxRibbonUI, all visible text is hardcoded in English. Is there a localized or translated (in Dutch) example available so I don't have to manually translate and assign approx. 150 text strings?
Tanya
Telerik team
 answered on 03 Aug 2018
4 answers
288 views

Hi,

When a RadDocument is exported to docx file, page numbering doesn't work correctly. The total count and current page number is 1 on every page. When the same document is exported in pdf the numbering is fine... I'm using the code from you sample projects - CustomField class from CustomField_WPF used in TelerikEditorDemo_WPF project.

Tanya
Telerik team
 answered on 03 Aug 2018
5 answers
255 views

Is there any way to have a "DockedRight" RadPane expand into the application window, like the Solution Explorer of Visual Studio? Expanding outside the window seems an inconsistent user experience to me.

I've attached an image illustrating the problem - the RadPane expanding outside the window when docked right.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Aug 2018
5 answers
280 views

Hello

How can I change animation-duration of LayoutControlExpanderGroup?

I know, how I can activate the animation, but I don't know, how I can change the duration of the animation when the expander is expanded or collapsed.

I used the AnimationSelector, but this affects no changes to the duration.

 

      <Style TargetType="telerik:LayoutControlExpanderGroup">
         <Setter Property="telerik:AnimationManager.IsAnimationEnabled" Value="True">
         </Setter>
         <Setter Property="telerik:AnimationManager.AnimationSelector">
            <Setter.Value>
               <telerik:AnimationSelector>
                  <telerik:ExpanderExpandCollapseAnimation
                     AnimationName="Expand"
                     Direction="In"
                     TargetElementName="Content"
                     SpeedRatio="0.2" />
                  <telerik:ExpanderExpandCollapseAnimation
                     AnimationName="Collapse"
                     Direction="Out"
                     TargetElementName="Content"
                     SpeedRatio="0.2" />
               </telerik:AnimationSelector>
            </Setter.Value>
         </Setter>
      </Style>

 

Sincerly

Alex

Stefan
Telerik team
 answered on 02 Aug 2018
0 answers
162 views

Hi,

My application is being developed in WPF which has lot of data being shown on different screens, opens multiple windows parallelly each window showing different and considerable volume of data in it. It is a standalone application and have to install on each user machine and handle the updates of the application. In normal to most situations the screens will end up accumulating more memory and CPU after some screens opened and eventually turning up as slow responsive. I am thinking to convert the application into application virtualization/streaming without actually installing on each machine. That way the underlying memory and CPU problems doesn't hamper the performance of my application. Any suggestions on how we can implement/convert existing application as one to virtually launchable.

e.g: Microsoft App-V

Thanks,

Chand.

Chandra Sekhar
Top achievements
Rank 1
 asked on 01 Aug 2018
1 answer
108 views

If I open a view and then hit the X to collapse the view, there is a focused blurred area that won't go away.  I need the items to collapse rather then close because I keep them in memory.  So how can I fix this blurred box staying on the screen when setting a view to Collapsed?

 

The first pictures shows with View open.   The second picture is how it looks if the View is collapsed.  And here is the code I run to collapse it:

 

private void RadWindow_PreviewClosed(object sender, Telerik.Windows.Controls.WindowPreviewClosedEventArgs e)
        {

            Visibility = Visibility.Collapsed;
            e.Cancel = true;
        }

 

And this is how the MainWindow initializes the Fluent Theme and opens the windows when clicked:

 public partial class MainWindow : RadWindow
    {
        public MainWindow()
        {
            InitializeComponent();
            StyleManager.ApplicationTheme = new FluentTheme();
            FluentPalette.LoadPreset(FluentPalette.ColorVariation.Dark);
            FluentPalette.Palette.FontSizeS = 8;
            FluentPalette.Palette.FontSize = 12;
            FluentPalette.Palette.FontSizeL = 14;
            FluentPalette.Palette.FontSizeXL = 16;
        }
        
        private void View1Button_Click(object sender, RoutedEventArgs e)
        {
            EmptyDialog emptyDialog = new EmptyDialog();
            emptyDialog.Owner = this;
            emptyDialog.View = new View1ViewModel();
            emptyDialog.Height = 500;
            emptyDialog.Width = 500;
            emptyDialog.Show();
        }

        private void View2Button_Click(object sender, RoutedEventArgs e)
        {
            EmptyDialog emptyDialog = new EmptyDialog();
            emptyDialog.Owner = this;
            emptyDialog.View = new View2ViewModel();
            emptyDialog.Height = 500;
            emptyDialog.Width = 500;
            emptyDialog.Show();
        }
    }
}

 

 

Stefan
Telerik team
 answered on 01 Aug 2018
3 answers
513 views

I want to add the tooltip to the expander in the TreeListView.  The question is that I want the different tooltip when in expanded and collapsed status if I hover over the expander.

So I think that I have to apply the ControlTemplate triggers of the ToggleButton. Thanks for the code help.

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Aug 2018
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?