Telerik Forums
UI for WPF Forum
3 answers
183 views

I've used your tutorial "Templating the GroupHeaders topic" to create a custom GroupHeaderContentTemplateSelector.

How do I make each group header height to stretch to the content of the header template? For example the first group header height is 200px, the second 300px, the third 80px. Currently all group headers have equal height. Is this possible?

 

Kalin
Telerik team
 answered on 16 Sep 2016
1 answer
69 views

Hi,

I am using Rad Timebar for showing charts. In that I added 6 intervals year,quarter,month,week,day,hour scrolling upto month level only. When I remove month interval it is scrolling Quarter level. I would like to scroll both month as well as quarter, means after month scrolling need to show quarter level on the top of the head.

 

 

Regards,

Swamy.

                   

Martin Ivanov
Telerik team
 answered on 15 Sep 2016
3 answers
91 views

I have a CollectionEditor called Pictures which has key value pairs as items. The value is a path to an image file. My template for CollectionEditor looks like this:

<Style TargetType="telerik:CollectionEditor">
        <Setter Property="ItemTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding Path=Bit}" />
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>

I would like to add a browse button to the 'content' field. Is that possible?

Stefan Nenchev
Telerik team
 answered on 15 Sep 2016
2 answers
290 views

Hi, it's possibile not delete the appointment then the user press the key Delete ?

I have the ShowAppointmentDeleteButton="False" and the user delete the appointment usign the contexmenu, but if press the key Delete, the appointment is delete from the scheduler but obviously not from database.

 

I have using the event PreviewKeyUp, but not work.

 

if you have any solution...thanks

 

Aurelio

 

Aurelio Righetti
Top achievements
Rank 1
 answered on 15 Sep 2016
12 answers
717 views
H,
I try to add richTextBox to the window and I get this Error:
"The Component Telerik.windows.Documents.UI.Adorner.ImageAdornerUI does not have a resource identified by the uri 
Telerik.windows.Documents;component /UI/Adorner/ImageAdornerUI .xaml"
Thanks. 
Tanya
Telerik team
 answered on 15 Sep 2016
11 answers
165 views
Hello,

we evaluate to replace the current 2D chart library in our application with  Telerik's and have the following requirements:

Supported Chart Types:
- Line-Chart
- Spline-Chart
- Bar-Chart
- Point-Chart
- Step-Chart
Legend Support
Cross hair cursor support
Data Point cursor support
Multiple Y-Axis which:
- should be moveable ( left <-> right )
- should have configureable minimum and maximum
- should support multiline configureable title
- should support scientific tick labels
- should support configureable major and minor grid lines
Multiple Data-Series which:
- should support configureable series color
- should support configureable series point marker (should be visible in Plot and Legend)
- should support configureable series stroke type and thickness

Does RadChart and/or RadChartView meet this requirements and which of the control(s) do you recommend?

best regards,
Stefan
Stefan
Top achievements
Rank 1
 answered on 15 Sep 2016
5 answers
582 views

Hi,

  The Collection Editor is part of RadPropertyGrid defined below:
   

<telerik:RadPropertyGrid x:Name="grdTestProperty"
                         Item="{Binding TestProperty, Mode=OneWay}"
                         SearchBoxVisibility="Collapsed"
                         SearchInNestedProperties="False"
                         FieldIndicatorVisibility="Collapsed"
                         IsVirtualizing="False"
                         AutoGeneratePropertyDefinitions="True"
                         NestedPropertiesVisibility="Visible"
                         LabelColumnWidth="150"                                 
                         RenderMode="Hierarchical"
                         IsReadOnly="{Binding IsReadOnly, Mode=OneWay}"/>

   Please see attached picture showing the desired output.

 

Joel
Top achievements
Rank 1
Iron
 answered on 15 Sep 2016
2 answers
210 views

When I select a row in a RadGridView (as shown below)

    private void gridviewServiceTraceWatchList_SelectionChanged(object sender, SelectionChangeEventArgs e)
        {

            txtBillTo.Text = e.AddedItems[0].ToString();

        }


I get: “ServiceTrace.WPFApplication.CIPService.ServiceTraceWatchListData”

I’ve tried everything I know and looked and nothing works. Can anyone tell me what I’m missing? It has to be simple and I'm overthinking it. I just want to get a single field item from a row of data.

 

Thanks in advance.

 

J

Customer Care Systems
Top achievements
Rank 2
 answered on 14 Sep 2016
1 answer
268 views

Hello. I'm sorry for being bothersome. I use telerik:ChartSeriesProvider for visualizing of variable number of Spline series. I want each curve (series) has its own color. I've written the following XAML markup for it:

<UserControl x:Class="DeviceReading.Views.AutomaticGainControlView"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:prism="http://prismlibrary.com/"
             xmlns:local="clr-namespace:DeviceReading"
             prism:ViewModelLocator.AutoWireViewModel="True">
 
    <UserControl.Resources>
        <telerik:ChartPalette x:Key="customPalette">
            <telerik:ChartPalette.SeriesEntries>
                <telerik:PaletteEntryCollection SeriesFamily="Spline">
                    <telerik:PaletteEntry Fill="DarkBlue" Stroke="DarkBlue"/>
                    <telerik:PaletteEntry Fill="Purple" Stroke="Purple"/>
                    <telerik:PaletteEntry Fill="Red" Stroke="Red"/>
                    <telerik:PaletteEntry Fill="Green" Stroke="Green"/>
                    <telerik:PaletteEntry Fill="Cyan" Stroke="Cyan"/>
                    <telerik:PaletteEntry Fill="Sienna" Stroke="Sienna"/>
                    <telerik:PaletteEntry Fill="Magenta" Stroke="Magenta"/>
                    <telerik:PaletteEntry Fill="DodgerBlue" Stroke="DodgerBlue"/>
                </telerik:PaletteEntryCollection>
            </telerik:ChartPalette.SeriesEntries>
        </telerik:ChartPalette>
    </UserControl.Resources>
 
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
 
        <telerik:RadCartesianChart Visibility="{Binding IsAbsoluteSplineChartVisible}" Palette="{StaticResource customPalette}">
 
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeContinuousAxis MajorStepUnit="Second" LabelInterval="5" LabelFormat="hh:mm:ss" FontFamily="Segoe UI" PlotMode="OnTicks" TickOrigin="{Binding AlignmentDate}"/>
            </telerik:RadCartesianChart.HorizontalAxis>
 
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis FontFamily="Segoe UI" Title="Decibels [Db]" />
            </telerik:RadCartesianChart.VerticalAxis>
 
            <telerik:RadCartesianChart.Grid>
                <telerik:CartesianChartGrid MajorLinesVisibility="XY" MajorXLineDashArray="3,4" MajorYLineDashArray="3,4"/>
            </telerik:RadCartesianChart.Grid>
 
            <telerik:RadCartesianChart.SeriesProvider>
                <telerik:ChartSeriesProvider Source="{Binding SeriesData}">
                    <telerik:ChartSeriesProvider.SeriesDescriptors>
                        <telerik:CategoricalSeriesDescriptor CategoryPath="Category" ValuePath="Value" ItemsSourcePath="ChartPoints">
                            <telerik:CategoricalSeriesDescriptor.TypeConverter>
                                <local:SeriesTypeConverter/>
                            </telerik:CategoricalSeriesDescriptor.TypeConverter>
                        </telerik:CategoricalSeriesDescriptor>
                    </telerik:ChartSeriesProvider.SeriesDescriptors>
                </telerik:ChartSeriesProvider>
            </telerik:RadCartesianChart.SeriesProvider>
             
        </telerik:RadCartesianChart>
    </Grid>
</UserControl>

Just in case below is SeriesTypeConverter definition.

public class SeriesTypeConverter : IValueConverter
{  public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
    SeriesModel seriesItem = value as SeriesModel;
 
    if (seriesItem.SeriesType == "Spline")
    {
       return typeof(SplineSeries);
    }
    else if (seriesItem.SeriesType == "Line")
    {
       return typeof(LineSeries);
    }
    else
    {
       return typeof(BarSeries);
    }
    }
 
  public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
  {
    /*throw new NotImplementedException()*/return null;
     }

}

The number of series now is vary from 2 to 8 (but upper bound may be larger and will, say 16). As you can see from XAML, I've define my own color palette (customPalette). I bag your pardon, but I do not know how to use it in my XAML, to each curve (series) had its own different color. Now all displayed series (1, 2, 3, 4,...8) are dark blue (have  DarkBlue color which is the first in 'customPalette'). Please tell me, how do I do so that each curve had its own different color. And that this color does not change with each session of the program.

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Sep 2016
1 answer
85 views

TreeView.CheckedItems  is contains is checked item.

But now  checkeditems is contains all item..

Dinko | Tech Support Engineer
Telerik team
 answered on 14 Sep 2016
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
Security
VirtualKeyboard
HighlightTextBlock
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?