Telerik Forums
UI for WPF Forum
1 answer
117 views
I have a RadContextMenu (for an object on a canvas).  It works well. 
I added a NumericUpDown Control to it. 
When I open the menu, If I click the + or - button on the control first, it works fine.   
But if I click directly in the edit box of the control just after opening the menu, then the menu immediately closes.

If I open the menu, first click either the + or - and THEN click inside the edit control, then the menu stays open.

Is there a setting I can change to prevent the menu from immediately closing?

I have attached a small sample that illustrates the issue.  Run the app, right click on the shape and then immediately left click on the text-box portion of the Numeric Up Down.  The Menu will close.  But click on the +/- buttons first and it works.
Martin Ivanov
Telerik team
 answered on 11 Aug 2023
4 answers
163 views

Have set a theme at the application level (Windows11Palette) but no matter how I set the colour variation, when it is set then the windows controls are not visible

I have tried the following:

StyleManager.ApplicationTheme = new Windows11Theme(Windows11Palette.ColorVariation.Dark);

Also:

StyleManager.ApplicationTheme = new Windows11Theme();

Windows11Palette.LoadPreset(Windows11Palette.ColorVariation.Dark);

Without the theme colour, then the controls are visible

 

Dinko
Telerik team
 answered on 10 Aug 2023
1 answer
147 views

Hi,

I tried to upgrade my app which have a reference to telerik.windows.Documents.for.WPF.

It seems that it is not supported for .NET 7. (only .NET Framework).

Will it be supported ?

 

Thank's for your response.

Dimitar
Telerik team
 answered on 07 Aug 2023
1 answer
143 views

Hi,
When using certain column names in a Telerik WPF grid, the corresponding values are not being displayed correctly. The issue occurs when attempting to show data in the grid with the following column names :

Data = new ObservableCollection<CustomDynamicObject>()
        {
            new CustomDynamicObject(new Dictionary<string, object>
            {
                {"Check bug", "OK"}, // Values displayed correctly
                {"Check. bug.", "OK"}, // Values not displayed correctly
                {"Check. bug", "OK"}, // Values not displayed correctly
                {"Check.", "OK"}, // Values not displayed correctly
                {"Check ", "OK"}, // Values not displayed correctly
                {"Check bug.", "OK"}, // Values displayed correctly
                {"Check bug ", "OK"}, // Values displayed correctly
            })
        };
<telerik:RadGridView ItemsSource="{Binding Data}"/>

(CustomDynamicObject is a custom class that implements DynamicObject with Dictionary<string, object>())

Expected Behavior :

The values for each column name mentioned above should be displayed correctly in the Telerik WPF grid. Users should be able to see the data without any missing or truncated values.

Observed Behavior :

After binding the data object to the grid, some values are not visible for specific column names. This issue appears to be related to column names that contain special characters such as periods (".") and spaces. Consequently, users cannot view the complete dataset, leading to data misinterpretation.

Example

Additional Notes:

This issue severely impacts the usability of our application, as users rely on the accurate display of data in the grid. We use dynamic objects because the user generates the SQL requests. Is it a bug? There is any workaround or alternative approach using dynamic objects that would allow us to display the data correctly in the grid, we would be grateful for your guidance on implementing it ?

Attached you'll find a simplified example of how to reproduce the bug and a screenshot.

If you require any additional information or assistance in reproducing the bug, please do not hesitate to reach out. We are eager to see this issue addressed as soon as possible.

Best regards,

Dimitar
Telerik team
 answered on 07 Aug 2023
1 answer
131 views

Hi,

I currently am using a RadMenuItem to show one particular Icon for example the Whatsapp logo.

When I hover over the RadMenuItem I would like the icon to change to another version (white) which will be more visible due to our RadMenuItem mouse over having a darker background.

The code below is showing the original logo but the IsMouseOver trigger does not appear to be working.

Here is my code:

MainWindow.Xaml

                        <telerik:RadMenuItem Height="30" 
                                             Command="{Binding EmailSupportCommand}"
                                             FontSize="14" IconColumnWidth="30" Header="Email info@.com"
                                             >
                            <telerik:RadMenuItem.Icon>
                                <Image>
                                    <Image.Style>
                                        <Style TargetType="{x:Type Image}">
                                            <Setter Property="Source" Value="..\..\Auxiliary\Resources\64x64\dark\email.png" />
                                            <Style.Triggers>
                                                <DataTrigger Value="True" Binding="{Binding RelativeSource={RelativeSource AncestorType=telerik:RadMenuItem}, Path=IsMouseOver}">
                                                    <Setter Property="Source" Value="..\..\Auxiliary\Resources\64x64\light\email.png" />
                                                </DataTrigger>
                                            </Style.Triggers>
                                        </Style>
                                    </Image.Style>
                                </Image>
                            </telerik:RadMenuItem.Icon>
                        </telerik:RadMenuItem>


Dinko
Telerik team
 answered on 03 Aug 2023
2 answers
108 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
222 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
119 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
122 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
139 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
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?