Telerik Forums
UI for WPF Forum
4 answers
230 views

I was wondering if it's possible to cycle thru "available" themes programmatically when using XAML/StyleManager approach?  I'd like to cycle thru whatever themes are supported in the XAML approach and display their names in a ComboBox for a user to select.

Cheers, Rob.

 

Martin Ivanov
Telerik team
 answered on 30 Nov 2020
1 answer
310 views

Hi

I've a question: I would like to create a live chart view (with measurment points, updated every second) combining 2 styles:

- A simple threshold bar

- A gradient mountain style (gradient could be fix from min to max of the y axis)

Is this possible with Telerik chartviews (how), or do I have to use some other chart packages like scichart?

I've attached an example, what I want do create...

best regards

Patrick

Martin Ivanov
Telerik team
 answered on 30 Nov 2020
0 answers
181 views

 

I have a RadTabControl with multiple RadTabItems. these items are coded on my xaml as each items have different source/layout. I can't use ItemsSource.

Now I want to bind the selected TabItem on a property in my ViewModel. I want to use the SelectedItem but I don't know how I can relate this to the each TabItems.

 

Sample: Please not that each RadTabItem are coded on my xaml and not via template.

<telerik:RadTabControl x:Name="_TestControl" SelectedItem ="{Bind}">

<telerik:RadTabItem Header="ITEM 1">

</telerik:RadTabItem>

<telerik:RadTabItem Header="ITEM 2">
</telerik:RadTabItem>

</telerik:RadTabControl>

gerardo
Top achievements
Rank 1
Veteran
 asked on 29 Nov 2020
1 answer
184 views

Hello.

We are use RadGridView (2018.1.116.45). We have RadGridView, which contains 1-100 rows and 10- some thousand columns. Data update is very slowly and interface is slows down when splitter (horizontal or vertical) is uses. What is a problem? where is "RadGridView for WPF is the ultimate grid control that provides outstanding performance" ?

Martin Ivanov
Telerik team
 answered on 27 Nov 2020
4 answers
318 views

Hi,

How can I completely remove or hide Context Menu (aka Copy/Past menu) appearing when I'm right-clicking on the `telerik:RadMaskedTextInput`?


Martin Ivanov
Telerik team
 answered on 27 Nov 2020
4 answers
266 views

Hello,

I have a very straight forward example:

<Window x:Class="TelerikWpfApp2.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
    <telerik:RadDocking x:Name="radDocking">
        <telerik:RadSplitContainer>
 
            <telerik:RadPaneGroup x:Name="Group1">
                <telerik:RadPane x:Name="Pane1" Header="Server Explorer" CanFloat="False"/>
                <telerik:RadPane x:Name="Pane2" Header="Server" CanFloat="False"/>
            </telerik:RadPaneGroup>
 
        </telerik:RadSplitContainer>
    </telerik:RadDocking>
</Window>

 

Using the Office2019 theme this gives a blue border for the active pane (see screenshot). The blue highlighted header is fine for me, but I'd like to get rid of the blue border and struggled to do so for the last 6 hours and am at a loss.

 

Christoph
Top achievements
Rank 1
Veteran
 answered on 26 Nov 2020
3 answers
682 views

Hello!

We are experiencing difficulty supporting the RadGridView's Multi-Selection capabilities when our end-users shift-click directly on the checkbox inside the cell of a GridViewSelectColumn. 

What we expect to see is everything in between the originally selected row and the shift-clicked row would be selected. What we see happen is the original row getting selected and only the shift-clicked row getting marked as selected. 

 

What can we do to make sure the act of shift-clicking directly on the checkbox that comes with the GridViewSelectColumn yields the same multi-selection behavior we see when shift-clicking on any other portion of the cell?

Alex
Top achievements
Rank 1
 answered on 25 Nov 2020
5 answers
377 views

I'm using a RadComboBox with a data template which is bound to ItemTemplate:

        <telerik:RadComboBox 
            AlternationCount="1"
            Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
            ItemTemplate="{StaticResource ComboBoxCustomTemplate}"
            ItemsSource="{Binding Rates}"
            SelectedItem="{Binding SelectedRate}"
            TextSearch.TextPath="FormattedDescription"
            IsEditable="True" 
            EmptyText="Select a Rate"></telerik:RadComboBox>

 

 

            <DataTemplate x:Key="ComboBoxCustomTemplate">
                <Grid Margin="5,5,5,5" Width="300">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="30" />
                        <ColumnDefinition Width="30" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>

                    <TextBlock Grid.Column="0" FontWeight="Bold" Text="{Binding Code}" />
                    <TextBlock Grid.Column="1" HorizontalAlignment="Right"><Run Text="{Binding Rate}"></Run>%</TextBlock>
                    <TextBlock Grid.Column="2" Text="{Binding Description}" Margin="10, 0" />
                </Grid>
            </DataTemplate>

 

 

Can you tell me how to get the rows in the drop down to use an alternating background colour?

Using MVVM so prefer to do this in XAML not code behind if possible.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 25 Nov 2020
4 answers
187 views
Is there an example of adding an AutocompleteBox into a custom dataform data template that has the final value binding to a property that is unrelated to the itemssource?
Martin Ivanov
Telerik team
 answered on 24 Nov 2020
3 answers
123 views

When I set the StyleManager.ApplicationTheme to Windows8Touch, it breaks the RadTabControl's Align functionality.

To explain, I created a simple Telerik application whose main window consisted of a RadTabControl.  The controls tabs are on the left hand side and I use  Align="Justify" to make them space out evenly on that left side (taking up all the available space).  It looks great

<Grid>
         
    <tk:RadTabControl
        VerticalAlignment="Stretch"
        Align="Justify"
        TabStripPlacement="Left"
        TabOrientation="Vertical"
         
        >
        <tk:RadTabItem Header="First"/>
        <tk:RadTabItem Header="Second"/>
        <tk:RadTabItem Header="Third"/>
    </tk:RadTabControl>
</Grid>


But THEN I go into main MainWindow constructor and place this just before the call to InitializeComponent()

StyleManager.ApplicationTheme = new Windows8TouchTheme();


Suddenly the Align="Justify" stops working.  The tab control buttons are all aligned at the top

I've attached images showing you what I mean.  "BeforeTheme.jpg" is the application without the Windows8Theme, buttons nicely spead out.
"WithWindows8Theme.jpg". shows after I add it and the problem.

 

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Nov 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
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?