Telerik Forums
UI for WPF Forum
3 answers
691 views
How to remove the white vertical line which is present in gridview header row, row and footer row. This vertical line can be moved.
Please see attachment
Dinko | Tech Support Engineer
Telerik team
 answered on 04 Apr 2019
8 answers
1.3K+ views
How can we change the busy indicator size? Changing the Height and Width only changes the size of some outer border but the indicator itself remains the same size...
Tristan
Top achievements
Rank 1
 answered on 03 Apr 2019
4 answers
339 views

Hello, I am trying to bind the items of my RadTreeView to IsSelected and IsExpanded but when I use all my items are not visible in the tree.

I use it like this:

<telerik:RadTreeView.ItemContainerStyle >
         <Style TargetType="telerik:RadTreeViewItem">
             <Setter Property="IsSelected" Value="{Binding IsSelected}" />
             <Setter Property="IsExpanded" Value="{Binding IsExpanded}" />
         </Style>

I tried to add to the style BasedOn="{StaticResource RadTreeViewItemStyle}" but I received warning that the style cannot be resolved, how can I use it?

Svetoslav
Top achievements
Rank 1
 answered on 03 Apr 2019
4 answers
1.9K+ views

Is there any way to hide a cell's tool tip when it's defined at the column level like so?

When ToolTipValue is null or empty, the tool tip still comes up, just without any content. I'd prefer if it wasn't displayed at all.

<telerik:GridViewDataColumn DataMemberBinding="{Binding CellValue}">
    <telerik:GridViewDataColumn.ToolTipTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding ToolTipValue}" />
        </DataTemplate>
    </telerik:GridViewDataColumn.ToolTipTemplate>
</telerik:GridViewDataColumn>
Dilyan Traykov
Telerik team
 answered on 02 Apr 2019
2 answers
191 views

Hi, 

I'm using RadRibbonWindow in my WPF application and in Loaded event of the window I'm showing a dialog/messagebox, but the problem is that when I launch the application the main radribbonWindow doesn't show up until all interrupts/events executed from Loaded event are resolved. Why is that I want to show both simultaneously when I launch the application. 

<RibbonWindow x:Class="DynamicToolbarItems.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"
                Loaded="Window_Loaded">

/*******************************code behind *************************************/

 private void Window_Loaded(object sender, RoutedEventArgs e)
 {

 

System.Windows.MessageBoxResult result = System.Windows.MessageBox.Show("All Changes will be lost?", "message,                    System.Windows.MessageBoxButton.YesNo, System.Windows.MessageBoxImage.Question);

        }

 

 

Martin Ivanov
Telerik team
 answered on 02 Apr 2019
1 answer
1.5K+ views

According to normal behavior of WPF window, Loaded event occurs when the element is laid out, rendered, and ready for interaction.It is the last event raised in an element initialization sequence. Where as in RadRibbonWindow I have observed that the Loaded event is the first one to be called, even before the Window is shown at all. And when loaded event finished its work then Window appears on screen with all its content loaded. This behavior confuses with the description of Loaded event here  https://docs.microsoft.com/en-us/dotnet/api/system.windows.frameworkelement.loaded?redirectedfrom=MSDN&view=netframework-4.7.2 ?

Martin Ivanov
Telerik team
 answered on 02 Apr 2019
2 answers
161 views

Hi,

I am experiencing a rather odd behavior, when i try to use the pin functionality on a gridview with datapager.

The gridview is bound to a VirtualQueryableCollectionView, which only load the relevant data based on the page shown. If I pin rows on page 1, all seems to be working fine. But when I pin a row on page 2 (Or above), Only the pinned row is shown at top, and the rest of the items are blank. When I unpin, all data are presented as expected.

I have reproduced the behavior in the attached project.

 

Am I missing something?

 

Best Regards 

 

Dennis

Martin Ivanov
Telerik team
 answered on 01 Apr 2019
2 answers
241 views

Hello,

Please let me know if I am able to create GridView for cash report like in attachment (screenshot from Excel).

I want to have custom function which sum row from column F and G, in row in column H we have value before minus this sum.

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Apr 2019
2 answers
572 views

It is possible to restore selected value in the view model i'm trying 
something like this but combobox do not changed to the correct item you see last selected from the use 

<telerik:RadComboBox ItemsSource="{Binding Tests}" Width="150" Height="25"
                             SelectedValuePath="Id">
            <telerik:RadComboBox.SelectedValue>
                <Binding Path="SelectedTestId" Mode="TwoWay" BindsDirectlyToSource="True" UpdateSourceTrigger="PropertyChanged"/>
            </telerik:RadComboBox.SelectedValue>
            <telerik:RadComboBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Name}"/>
                </DataTemplate>
            </telerik:RadComboBox.ItemTemplate>
        </telerik:RadComboBox>

     public int SelectedTestId
        {
            get
            {
                return selectedTestId;
            }
            set
            {
                OldSelectionTestId = selectedTestId;

                SetProperty(ref selectedTestId, value);

                if (OldSelectionTestId > 20 && SelectedTestId == 20)
                {
                    Debug.WriteLine($"oldSelectionTestId = {OldSelectionTestId}");
                    Debug.WriteLine($"SelectedTestId = {SelectedTestId}");
                    HasError = true;
                }
            }
        }

Martin Ivanov
Telerik team
 answered on 01 Apr 2019
3 answers
191 views

Observe any other edit control in existence. When you hold the arrow key down to move the caret through text, it stays visible and does not blink until a brief pause after you take your finger off. Unfortunately in RadRichTextBox it keeps blinking so you lose track of where it is. This is very frustrating when you are navigating long documents because it can even prevent you from seeing the caret moving to a different line. Or hold down any character key and the caret disappears completely, giving you one less cue that something is haywire if your arm is leaning on the keyboard.

 

This isn't a bug per se but it isn't a minor usability issue either. What has to happen is an idle timer begins *immediately after* a key down, during which no blinking can begin. If a key down happens again, the timer resets. If the timer expires, then that starts the caret show timer.

Tanya
Telerik team
 answered on 01 Apr 2019
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?