Telerik Forums
UI for WPF Forum
1 answer
282 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
170 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
161 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
296 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
249 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
640 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
342 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
162 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
93 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
3 answers
1.0K+ views

Hi

Having grids displaying scientific data - I want to include math symbols with subscript and superscript in the column headers. Xaml markup is sufficient to display the symbols. How do I add the column headers in code. They are read from an extended metadatabase dependent on the users choices, so static xaml styles/templates are not an option. The symbols and column captions may be combined into one header text or divided between two header rows, what ever is convenient.

How can this be done?

 

 

/Brian

Dilyan Traykov
Telerik team
 answered on 23 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
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?