Telerik Forums
UI for WPF Forum
1 answer
134 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
119 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
439 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
183 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
163 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
203 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
228 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
0 answers
202 views
In my project I have RadGridView with GridViewDataColumns. Some of the rows are connected with each other. For some of them default filtering using FilteringDropDown is enough, since they have the same value in filtered column. But there are also columns where the values for interconnected rows are different and if we filter it by deafault we lose that connection and we only present row with that value and the connected row is lost. Is there possibility to override some function and perform the custom filtering there. If yes how to do that?
Or do I need some new control there based on the deafault filtering popup to perform filtering there?
Szymon
Top achievements
Rank 1
 asked on 15 Jun 2023
0 answers
156 views

Hi I have two RadGridView , first one consists of basic controls it works well.

However, the other thing is that the page is created, but the controls are not displayed at all.

the only difference is that the second radgridview using CellTemplate.


<telerik:GridViewDataColumn  HeaderCellStyle="{StaticResource CustomGridViewHeaderCellStyle}"  Header="{Binding TimeFirst}" Width="0.8*" HeaderTextAlignment="Center"  ColumnGroupName="L1CODE">
                            <telerik:GridViewDataColumn.CellTemplate>
                                <DataTemplate>
                                    <Grid>
                                        <telerik:RadProgressBar  Height="20"  Minimum="0"  Maximum="3600" Value="{Binding L1CodeBeforeCnt3}" Style="{StaticResource l1code3progressbar}">
                                        </telerik:RadProgressBar>
                                        <TextBlock Text="{Binding L1CodeBeforeCnt3}" Margin="5 0">
                                        </TextBlock>
                                    </Grid>
                                </DataTemplate>
                            </telerik:GridViewDataColumn.CellTemplate>
                        </telerik:GridViewDataColumn>

 

and i used radpager like this.

 <telerik:RadGridView 
                            ItemsSource="{Binding PagedSource, ElementName=radDataPager}"
>


   <telerik:RadDataPager x:Name="radDataPager" 
                          Source="{Binding SignalCntData}" 
                          PageSize="30" 
                          />

this code works well in consists of basic controls.

is it a problem with styling the progressbar? but without pager, just radgridview, there are no problem..

But I must display more than 150 rows, I must use RadPager somebody help..

 

 

 

 

 


Jiwoo
Top achievements
Rank 1
 asked on 15 Jun 2023
0 answers
191 views

Hello,

I created an attached property that scrolls into the selected item when the SelectedItem changed (using the public method of the RadGridView).

This behavior was added because the selected item may be changed from other view. The RadGridView multi selection is enabled.

I noticed that during grouping, the scrolling into the selected item works, but the row might be collpased when the group IsExpanded property is false.

There is an easy way to expand the group?

I want to detect the group by O(1) and then update the IsExpanded property to True.

I am wondering what will happend if there are many groups? should I expand all of them or only the last one ?

I will be glad to know the easiest way for this.

* The performance is extremelly important so we should take into consideration that maybe the user selects a lot of items (let's say 250 out of 10000) so the SelectedItem will change a lot.

alex
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 14 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
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?