Telerik Forums
UI for WPF Forum
1 answer
186 views

I would still like to be able to see what row the scroll is at even when the mode is RealTime. Like Word, Excel, etc. can do. Is there any way to make that happen?

 

Absent using the template, is there any place to hook in to show something myself?

Dinko | Tech Support Engineer
Telerik team
 answered on 03 Feb 2020
3 answers
413 views

Hello.

Our project has a requirement to show an ExplorerControl where navigation is limited to a user-defined folder and its subfolders.  Ideally, the navigation tree's root folder would be the specified folder (instead of the hierarchy from This PC to the target folder).

Is this functionality possible?

If there was a cancellable "OnBeforeNavigating" event to prevent navigating to parent folders, that might also be sufficient.

 

I've gotten close to it by handling the DirectoryRequesting event and cancelling any directories that are not the target folder, a parent folder, or child folder.

However, this still allows users to browse to parent folders and see the contents.  If I try to cancel the DirectoryRequesting events for the parent folders too, the control stops working.

We looked into editing the control template, but it proved to be more in-depth than we want to go.

Thanks!

Joe
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 31 Jan 2020
14 answers
204 views

Hi,

We experience some strange behavior in the xaml designer (Visual Studio 2017) when we apply the Fluent theme on the TabControl

<Style x:Key="DefaultTelerikRadTabControlStyle" TargetType="telerik:RadTabControl">
    <Setter Property="telerik:StyleManager.Theme" Value="{StaticResource FluentTheme}"/>
</Style>
<Style TargetType="{x:Type telerik:RadTabControl}" BasedOn="{StaticResource DefaultTelerikRadTabControlStyle}"/>

 

When the header of a tabitem is clicked, the designer does not 'switch' to that tab.  This happens randomly (not all of the time) and is pretty annoying.  Only thing to do when this happens is to restart Visual Studio.

The problem does not occur when setting the theme to Office2016.

Regards,
Hans

 

Kalin
Telerik team
 answered on 31 Jan 2020
7 answers
192 views

Hi there,

 

I would be appreciate your help with this.

Attached a screenshot that shows what I am looking for:

 

Thanks,

Bahram Afsharipoor

Bahram
Top achievements
Rank 1
 answered on 30 Jan 2020
1 answer
496 views

Hello,

I'm trying to use the Office2016 theme colors in one of my controls.

To do this, I've used the following XAML:

<ResourceDictionary
  xmlns:tk="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
  xmlns:osctrl="clr-namespace:OrdinaSoft.Windows.Controls">
 
  <ResourceDictionary.MergedDictionaries>
    <tk:Office2016ResourceDictionary />
  </ResourceDictionary.MergedDictionaries>
 
  <Style TargetType="osctrl:osRadGroupBox">
    <Setter Property="BorderBrush"           Value="{StaticResource BasicBrush}" />
    <Setter Property="HeaderBrush"           Value="{StaticResource AccentBrush}" />
    <Setter Property="HeaderForeground" Value="{StaticResource MainBrush}" />
  </Style>
 
</ResourceDictionary>

 

Unfortunately, this doesn't work! When I run the application I have the following error: "Cannot find resource named 'BasicBrush'. Resource names are case sensitive."

If I look with the debugger just after the resource dictionary is loaded, I can see the resources defined, including BasicBrush!

If I define myself the brushes, with "<Brush x:Key="AccentBrush">#FF2A579A</Brush>" for example, it works correctly.

Why can't I use the Office2016 resources directly?

Sia
Telerik team
 answered on 30 Jan 2020
1 answer
188 views

Hi All,

I have a big C++ MFC solution, which opens WPF dialogs with Telerik RadCartesianChart.
When the ViewModel is static (singleton) I have memory leak.
Reporting version 10.0.16.204 Q1 2016 SP1

WPF controls version 2016.1.217.45

On the attached MFC project ,When you press the OK Button, the WPF dialog is opened.
On each button pressed, the dialog shows the delta of the memory consumption on top of the dialog.
If the view model is not static or the DataSource is not connected in the XAML I don’t have any memory leaks.
However, if both condition applies the memory leak happens.

link to the solution VS2013

https://drive.google.com/file/d/1U9Bd9ox8c-IKX5lRcFOKdnVlxoSywTbY/view?usp=sharing

Thanks

Ron

 

 

Martin Ivanov
Telerik team
 answered on 30 Jan 2020
1 answer
120 views

Some times when I place a gauge the GaugeRange Background is off. Im not sure where to start looking for this issue.

Im using a vdi. Next thought is to try on an actual box. See attachement

Martin Ivanov
Telerik team
 answered on 30 Jan 2020
2 answers
149 views

Hey,

 

I have a Chart with multiple stacked BarSeries. My Top series has to Labels, one to display its own value, one for the sum of the stacked ones combines.

The problem is, that this:

                        <telerik:ChartSeriesLabelDefinition HorizontalAlignment="Center" VerticalAlignment="Top" >
                            <telerik:ChartSeriesLabelDefinition.Template>
                                <DataTemplate>
                                    <TextBlock Text="{Binding DataItem.ReklasGesamt}" FontWeight="Bold" />
                                </DataTemplate>
                            </telerik:ChartSeriesLabelDefinition.Template>
                        </telerik:ChartSeriesLabelDefinition>
Won't resize if the value changes. So if the value was two digits and gets three it will cut off.

If I don't spezify a template it will resize, but will obviously not display the value I want.

Is there any way to get the label to resize? Ordo I have to add a invisble Pointseries?

 

Greetings

Benedikt

Benedikt
Top achievements
Rank 4
Iron
Iron
Iron
 answered on 30 Jan 2020
1 answer
133 views

Hello,

We'd like to make a Multi-Level Swimlanes project such as the attached image.

The lanes should support drag and drop (reordering), resizing, collapsing and etc like in the real demo of the WPF Swimlane Example.
Let me know if you can provide me an example project.

 

Regards,

Martin Ivanov
Telerik team
 answered on 30 Jan 2020
1 answer
968 views

Hi dear Telerik Team,

On right clicking I want to open a radial menu. But the standard context menu appears.

How can I disable the context menu and replace by the radial menu?

Thank you.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 29 Jan 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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?