Telerik Forums
UI for WPF Forum
3 answers
308 views

I'm using the following code (taken from WPF demos and slightly adjusted for Prism, as suggested in the documentation). However, requesting a change to the region's content doesn't show anything.

I have also tried having a ContentControl inside RadTransitionControl.Content to no avail. It is unclear to me at this point whether this is an issue with NavigationView or RadTransitionControl

<telerik:RadNavigationView x:Name="navigationView"
                            Grid.Row="1"
                            ItemsSource="{Binding Items}"
                            SelectedIndex="0">
    <telerik:RadNavigationView.Content>
        <telerik:RadTransitionControl prism:RegionManager.RegionName="ContentRegion"
                                      Duration="0:0:0.4">
            <telerik:RadTransitionControl.Transition>
                <telerik:FadeTransition />
            </telerik:RadTransitionControl.Transition>
        </telerik:RadTransitionControl>
    </telerik:RadNavigationView.Content>
    <telerik:RadNavigationView.PaneFooter>
        <telerik:RadNavigationViewItem Content="Settings"
                                        Command="{x:Static common:NavigationViewSettingsCommands.OpenSettingsDialogCommand}"
                                        CommandParameter="{Binding ElementName=navigationView}"
                                        IconTemplate="{x:Null}">
            <telerik:RadNavigationViewItem.Icon>                       
                    <telerik:RadGlyph Glyph="" FontSize="20" />                       
            </telerik:RadNavigationViewItem.Icon>
        </telerik:RadNavigationViewItem>
    </telerik:RadNavigationView.PaneFooter>
</telerik:RadNavigationView>
Jesus
Top achievements
Rank 1
 answered on 04 May 2019
1 answer
882 views

Hi,

I'm trying to find a way to set the GridViewColumn Visibility to Hidden when IsVisible = False. The default "IsVisible=False" behaviour is Collapsed.

Thanks

Dinko | Tech Support Engineer
Telerik team
 answered on 03 May 2019
5 answers
150 views

Hello

I'm using the radgridview and would like to animate the opening and closing of the rowdetails. How do I make it similar to the animation of the expander (without specifying a height).

I'm using version 19.1.220 with the material theme.

 

Thanks

Martin Ivanov
Telerik team
 answered on 02 May 2019
7 answers
746 views
The error I'm havnig is that the RadViewer will not fit the container that it sits in.  This is going off the assumption that the ScaleMode="FitToPage" fits the parents containers width and height.  Currently the pdf is not fitting to the parent window or even if I set the width and height of the RadPdfViewer itself it still seems to try to display it with no scaling applied.  Attached is how it currently looks.

<Window x:Class="Views.Dialogs.TelerikPdfDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        WindowStartupLocation="CenterOwner"
        ShowInTaskbar="False"
        AllowsTransparency="False"
        ResizeMode="NoResize"
        WindowStyle="None"
        mc:Ignorable="d"
        Title="TelerikPdfDialog" MaxWidth="800" MaxHeight="1000">
    



        <Window.Resources>

            <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../../Resources/Styles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
        </Window.Resources>


        <Border BorderBrush="Black" BorderThickness="10">
            <Grid Background="{StaticResource gsiBackgroundBrush}" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                
                <Grid Grid.Row="0">
                    <Label HorizontalContentAlignment="Center" Margin="10" FontSize="38" Content="Hearing Test Results"/>
                </Grid>
            <ContentControl Grid.Row="1" x:Name="contentView" Height="350" Width="700" Background="Blue">

                <telerik:RadPdfViewer x:Name="pdfViewer"  ScaleMode="FitToPage" DocumentSource="{Binding PatientPdfPath}"/>

            </ContentControl>

            <Grid Grid.Row="2">
                <Grid VerticalAlignment="Bottom" Margin="0 10">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="2*" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>

                        <DockPanel Grid.Column="1"  >
                            <Button HorizontalAlignment="Left" Content="Print" Height="35" Width="85"/>
                            <Button Click="Click_Close"   HorizontalAlignment="Right" Content="Cancel" Height="35" Width="85" />
                        </DockPanel>

                    </Grid>
                </Grid>

            </Grid>
        </Border>

</Window>
Tanya
Telerik team
 answered on 02 May 2019
1 answer
434 views

It is causing a lot of issues for us that the row stays in edit mode if you click out from one cell into another. I would like to disable this but everything I have tried either doesn't work, or the cell flashes up into edit mode before the editor goes away.

 

For example, if I handle the CurrentCellChanged and either commit or cancel the edit, it just goes back into edit mode anyway. I can use BeginInvoke which kind of work but causes some other issues for me down the line.

Vladimir Stoyanov
Telerik team
 answered on 30 Apr 2019
4 answers
194 views

We have a Timeline that is being used to display different types of data, grouped by collector. We would like to somehow have icons on the left side of the Timeline to help identify the different data types, that would remain in place as the Timeline is scrolled horizontally, and would collapse and expand with the group, similar to the following mock up. Can such a thing be accomplished? We assume it would involve editing the TimelineItemGroupControl ControlTemplate, but we are unsure of how exactly this would be done.

Dinko | Tech Support Engineer
Telerik team
 answered on 30 Apr 2019
18 answers
1.8K+ views

I have a ReadTreeListView with two level of items. When a sub-level item is selected I can see no way to maintain that selection when the data source is updated (items added or removed). *See attached picture*. When the data source is updated I lose my selection. Using "EnableLostFocusSelectedState = false" helped with the top level items, but not the inner items.

Please advise.

Barry

Vladimir Stoyanov
Telerik team
 answered on 30 Apr 2019
4 answers
383 views

Hello,

I need to display categorical X axis at Y=0 point, like on the picture. If 0 is out of Y axis range, X axis should be displayed at the bottom as by default. There is a CategoricalAxis.VerticalLocation property but it has only Top and Bottom options.

I shifted the axis manually using TranslateTransform for the example. But I need XAML to be independent on data source.

                            <telerik:RadCartesianChart.HorizontalAxis>
                                <telerik:CategoricalAxis PlotMode="OnTicksPadded" LabelFitMode="MultiLine">
                                    <chartview:CategoricalAxis.RenderTransform>
                                        <TranslateTransform Y="-149"/>
                                    </chartview:CategoricalAxis.RenderTransform>
                                </telerik:CategoricalAxis>
                            </telerik:RadCartesianChart.HorizontalAxis>

Are there any ways how to do it?

Thanks,

Sergei

Vladimir Stoyanov
Telerik team
 answered on 30 Apr 2019
5 answers
333 views

Hi,

Cursor on Rad Diagram shapes is showing when we hover mouse exactly on shapes side. We would like to show cursor before some distance, exactly the same behavior like power point. 

I have attached the screen shot of cursor behavior of Rad Diagram shapes and power point.

 

Regards,

Sunil

Petar Mladenov
Telerik team
 answered on 30 Apr 2019
2 answers
356 views

Hi,

I need help with achieving buttons on listview for navigation listview item left right like example in the picture. Can anyone help please.

Himanshu
Top achievements
Rank 1
 answered on 29 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
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?