Telerik Forums
UI for WPF Forum
2 answers
101 views

I have added a wizard control in my WPF MVVM project.

On one page of the wizard I have a combobox that binds to a property from a model (MVVM)

After I moved to the next page, the value in that combobox is reset to NULL.

How do I preserve values selected in previous pages of the wizard

Thanks

Miroslav

 

MiroslavStantic
Top achievements
Rank 1
Iron
 answered on 03 Aug 2023
1 answer
204 views

Hi,

I'm using the RadSyntaxEditor with the XmlTaggers. 

Unfortunately, when I switch from Light theme to Dark theme, the background color change in black but the text don't became white.

So we haven't a lot of contrast between background and text.

I use implicit style :

                <ResourceDictionary Source="/Telerik.Windows.Themes.VisualStudio2013;component/Themes/Telerik.Windows.Controls.SyntaxEditor.xaml"/>

I try to force it :  <telerik:RadSyntaxEditor x:Name="SyntaxEditor" Margin="10,10,0,10" telerik:StyleManager.Theme="VisualStudio2013">.

Nothing change. You will find attached two pictures describing the situation.

Oh, and I'm using Telerik 2020.1.115.45.

 

Regards,

Florian

Petar Mladenov
Telerik team
 answered on 03 Aug 2023
1 answer
111 views

I am adding tooltip to my datagrid headers this way:

                <telerik:GridViewDataColumn DataMemberBinding="{Binding Number}" 
                                            Width="40" 
                                            TextAlignment="Right">
                    <telerik:GridViewDataColumn.Header>
                        <TextBlock Text="#" 
                                   ToolTipService.ToolTip="Number of the match"/>
                    </telerik:GridViewDataColumn.Header>
                </telerik:GridViewDataColumn>

The problem is I also has this defined for my grid:

            <telerik:RadGridView.SortDescriptors>
                <telerik:SortDescriptor Member="StartDate" SortDirection="Ascending"/>
                <telerik:SortDescriptor Member="StartTime" SortDirection="Ascending"/>
                <telerik:SortDescriptor Member="PitchName" SortDirection="Ascending"/>
            </telerik:RadGridView.SortDescriptors>

With indirect styling, the header now does not change the text color and thus fade away behind the selected color of the header... how can I style the column to avoid this effect?

Stenly
Telerik team
 answered on 02 Aug 2023
0 answers
108 views

We have two situations:  one in which a ManipulationAdorner shows up, and one in which it does not.  I've determined that the sole difference, as far as I can tell, is the Visibility property on ManipulationAdorner itself.  In the one case, the Visibility is "Visible"; in the other, "Collapsed".

I see no other differences in this situation, including with DataContext and the styles/templates.  That is, in both cases, the DataContext has the same property values, and, in both cases, the styles/templates used are the same.

Visibility is being set locally, which means directly on the object either in xaml or in code.  We don't set Visibility directly ourselves, so I'm wondering whether there is logic internal to Diagram or ManipulationAdorner that sets the Visibility?  If so, what are the conditions that result in Visible vs Collapsed, please?  My hope is that I can work backwards from there to figure out how we're triggering the Collapsed state.

Thank you!

-David Marshburn

 

David
Top achievements
Rank 1
Iron
Iron
 asked on 31 Jul 2023
0 answers
132 views

H, I show a balloon tip with a text that is larger than the default size of notification area and I can't see all the text. I tried also with Configurator Example with the same result.
Is there a way to show a large text in balloon tip?
Thank you 

Luigi

Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
 updated question on 31 Jul 2023
1 answer
216 views
Hi, 

I'm trying to use your DragDropManager to be able to reorder my lists as I wish. 

And I have to congratulate you because it's very easy to use when you just want to reorder a list.

Unfortunately, I would like to execute a method after each drag and drop action.

I tried to bind a command on the Drop event but the list order wasn't modified yet. 

So I found the telerik:DragDropManager.DragDropCompleted which seemed perfect but I didn't succeed to use it.

I tried to respect MVVM pattern with the telerik:EventToCommandBehavior, System.Windows.Interactivity.EventTrigger but it didn't work.

I also tried to use it in the code-behind (xaml.cs) but nothing works.


Can you help me to understand what's the problem ?

And can you also help me to find a way to resolve my problem within respect the MVVM pattern ?


Thanks in advance for your time and your answer.
Martin Ivanov
Telerik team
 answered on 28 Jul 2023
1 answer
190 views

With every new release, we recompile the libraries so that we can set the application name to meet licensing requirements.

However, with 2023 R3, the compilation is failing due to four instances of a call to FunctionBase.LinearInterpolate in BrushRenderer.cs which leads to the following compilation error:

Fixed\UI\BrushRenderer.cs(233,50): error CS0117: 'Telerik.Windows.Documents.Fixed.Model.Common.Functions.FunctionBase' does not contain a definition for 'LinearInterpolate'

The LinearInterpolate method is definitely not defined in FunctionBase, would appreciate any available help on this.

 

Fixed\UI\BrushRenderer.cs(233,50): error CS0117: 'Telerik.Windows.Documents.Fixed.Model.Common.Functions.FunctionBase' does not contain a definition for 'LinearInterpolate' [C:\agent\_work\13\s\Source\Controls\PdfViewer\FixedDocumentViewers\Telerik.Windows.Controls.FixedDocumentViewers_WPF.csproj] [C:\agent\_work\13\s\Source\Build\BuildControls.proj]
Fixed\UI\BrushRenderer.cs(233,50): error CS0117: 'Telerik.Windows.Documents.Fixed.Model.Common.Functions.FunctionBase' does not contain a definition for 'LinearInterpolate' [C:\agent\_work\13\s\Source\Controls\PdfViewer\FixedDocumentViewers\Telerik.Windows.Controls.FixedDocumentViewers_WPF.csproj] [C:\agent\_work\13\s\Source\Build\BuildControls.proj]
Martin Ivanov
Telerik team
 answered on 28 Jul 2023
1 answer
105 views

Hi Telerik,

I know there is a way to print the Gantt View with data hidden behind the horizontal scrollbar, which I have worked 5 years ago.

But I'm not sure that can be done in RadGridView.

I mean I'm having 10 columns in RadGridView, in which 2 columns are scrolled inside horizontal scroll bar.

I want to print the rows in the visible area with all the 10 columns. Please help me if there is any way to achieve this.

 

Thanks and Regards,

Muhammad Azhar Shah

Martin Ivanov
Telerik team
 answered on 27 Jul 2023
1 answer
134 views

When using version 2023.2.718 targeting .NET 6.0 on VS 2022, I tried to create a RadCartesianChart as described here: https://docs.telerik.com/devtools/wpf/controls/radchartview/multiple-chart-series

The PointSeries and BarSeries are recognized as expected, but LineSeries generates errors that make the designer complain about invalid markup:

The program builds and runs fine.

Anyone have a clue as to what is happening here?

 

Dinko
Telerik team
 answered on 25 Jul 2023
1 answer
285 views

For a home project I'm working on, I have paid upto version R3 2021 SP2.  Will this version work with Visual Studio 2022 and can I use .NET 7 with this version?

If not, what is the most current version of Telerik UI WPF that does support Visual Studio 2022?

What is the most current version of Telerik UI WPF that supports .NET 7?

Thanks, Rob.

Martin Ivanov
Telerik team
 answered on 24 Jul 2023
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?