Telerik Forums
UI for WPF Forum
1 answer
115 views
Hi, I have a problome with using RadRichTextBox. Everything run perfectly but when enter Korean, the letters are not entered properly. Forexample I enter "안녕하세요",  it enterd like "안ㅕ하요" .  When I enter English, nothing problem.  Please help me. Thank you
Dimitar
Telerik team
 answered on 29 Jun 2023
0 answers
145 views

I think that this is a general question: I have a RadDocking with document host. Generally I can load many tab inside the panel, every tab has his viewmodel that it is an instance of the same class.
When I binding a control property to a viewmodel property I need to bind it to the correct instance.
Now I use binding in code behind using a variable index such as 

pane.SetBinding(RadPane.HeaderProperty, new Binding()
{
    Path = new($"MainVM.Partitions[{_vm.MainVM.PartitionAttiva.Partition.Id}])
});
Is not important the meaning of pieces, the important is the dynamic index that stand for the tab index.

My question is if is there a more standard method to achieve this goal
Thank you 
Luigi
Luigi
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 28 Jun 2023
0 answers
199 views

Hello.  I'm trying to create a vertical RadSlider with a custom Thumb that will display the current value of the slider, and has a pair of up/down buttons that the user can click to increment the slider by a fixed amount.

I've styled my Thumb to have Height="30" and Width="100", and the custom thumb appears as expected.  However, there are two problems.  First, because my RadSlider has Orientation="Vertical", I'm only able to drag the slider until the thumb is 100 px below the top of the slider - the width of the Thumb.  When the Thumb is at the maximum position, the slider value is 100% - but I'd like the Thumb to move through the entire length of the slider's Track.


The second problem is, when the slider is set to zero, the custom content of my Thumb appears below the bottom of the slider - I would like it to be centered on the bottom of the slider's Track.


Setting a margin on the Thumb only changes the proportion of "dead" space in the slider; if the Margin is 50, then I can only drag to within 50 px of the top or bottom of the slider.

Thank you!
-Ed

Ed
Top achievements
Rank 1
 asked on 26 Jun 2023
1 answer
125 views

When I use the WindowsFormsHost in Radbusyindicator,

then I change the window size, and the UI shows very slowly and seems wrong.

The content of the WindowsFormsHost is just a Label.

I am not sure if there are some details in this case.

 

<telerik:RadBusyIndicator IsBusy="False">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="30"/>
            </Grid.RowDefinitions>
            <WindowsFormsHost>
                <cc:UserControl1/>
            </WindowsFormsHost>
        </Grid>
    </telerik:RadBusyIndicator>

 

Martin Ivanov
Telerik team
 answered on 21 Jun 2023
0 answers
114 views

Hello! I have a RadGanttView with custom columns (which can be switched on and off on fly). The problem is that after any interaction with this control GridView part shows horizontal scroll bar, but splitter doesn't go right although there is more than enough space to resize (Picture 1).

It doesn't really matter how many columns are there - GridView resizes itself to be a bit smaller than enough to fit all the columns and doesn't expand anymore (Picture 2), leaving at least 0.5 cm of free space on the right (on 17" FullHD display) (Picture 3).

At the same time there is no problem with shrinking, it's possible to move splitter to the left until GridVIew part becomes completely invisible.

Thanks, Dmitrii

UPD: I've checked variables in Dynamic Visual Tree and found that ExtentWidth of TreeRenderingPanel element is always 3 units more than needed. Is there a way to fix this?

Dmitrii
Top achievements
Rank 1
 updated question on 20 Jun 2023
1 answer
427 views

not sure why the size of the combobox arrow is that small , any idea how to change it?

 

 

Thanks,

Wael
Top achievements
Rank 1
Iron
 answered on 19 Jun 2023
1 answer
172 views

Hello,

I noticed that the RadRichTextBox is not working as expected.

According to the documentation, SHIFT + ENTER should create a new line and ENTER a new paragraph.
For some reason the ENTER key is not working. My final go is to switch between SHIFT + ENTER and ENTER as described in the following link:

https://www.telerik.com/forums/wpf-radrichtextbox---swapping-enter-key-and-shift-enter-keys-behavior

How can I do that? the AcceptReturn is set to True, but the PreviewKeyDown event is not triggered for ENTER.

Dimitar
Telerik team
 answered on 19 Jun 2023
1 answer
152 views

Hi Team,

In my LineSeries chart I want to change the color of the line dots based on a property of my bound list item.

The ItemSource of my LineSeries is an ObservableCollection<MonthlyTracking> . The MonthlyTracking class looks like this:

   public class MonthlyTracking : INotifyPropertyChanged
    {
        [....]

        private string monthString;
        public string MonthString
        {
            get => this.monthString;
            set
            {
                this.monthString = value;
                this.OnPropertyChanged(nameof(this.MonthString));
            }
        }

        private double actualValue;
        public double ActualValue
        {
            get => this.actualValue;
            set
            {
                this.actualValue = value;
               this.OnPropertyChanged(nameof(this.ActualValue));
            }
        }

        private int statusId;
        public int StatusId
        {
            get => this.statusId;
            set
            {
                this.statusId = value;
                this.OnPropertyChanged(nameof(this.StatusId));
            }
        }

     [....]

    }

My XAML Code looks like this:

<telerik:RadCartesianChart>
     <telerik:RadCartesianChart.HorizontalAxis>
        <telerik:CategoricalAxis ShowLabels="True"/>
     </telerik:RadCartesianChart.HorizontalAxis>
	 
     <telerik:RadCartesianChart.VerticalAxis>
        <telerik:LinearAxis />
    </telerik:RadCartesianChart.VerticalAxis>
                
	<telerik:RadCartesianChart.Series>                   
         <telerik:LineSeries ItemsSource="{Binding MonthlyTrackingList}" CategoryBinding="MonthString" ValueBinding="ActualValue" >
             <telerik:LineSeries.DefaultVisualStyle>
                <Style TargetType="Path">
                    <Setter Property="Width" Value="10" />
                    <Setter Property="Height" Value="10" />     
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding StatusId}" Value="1">
                            <Setter Property="Fill" Value="LimeGreen" />
                        </DataTrigger>
                        <DataTrigger Binding="{Binding StatusId}" Value="2">
                            <Setter Property="Fill" Value="LightCoral" />
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </telerik:LineSeries.DefaultVisualStyle>
         </telerik:LineSeries>
    </telerik:RadCartesianChart.Series>
	
</telerik:RadCartesianChart>

The line is drawn in the chart. Unfortunately my binding in telerik:LineSeries.DefaultVisualStyle is wrong. The property StatusId is not found. Can you help me?

 

Kind regards,

 

Mario

 

Dimitar
Telerik team
 answered on 19 Jun 2023
1 answer
197 views

Hi team,

I am looking for a simply way to hide / remove the additional Fieldfilter in the Filter Control (Popup) of a RadGridView. Is it possible to do this whithout creating a custom column or a complete custom control ?

I just to keep the distinct filter and the first FieldFilter

Thank you, have a nice day.

Regards

Matthieu

Martin Ivanov
Telerik team
 answered on 16 Jun 2023
0 answers
216 views
The carousel is great but when I use the mouse wheel it scrolls too fast.  Is there a way to slow that down?  I tried using the `ScrollingSettingsBehavior` but none of the settings in that behavior seemed to have any effect.
Joe
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 15 Jun 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?