Telerik Forums
UI for WPF Forum
1 answer
158 views
Pressing F2 in a gridview/treelistview selects all of the text in the cell when it goes into edit mode. I am trying to make it work like Excel and just select the end of the text, but I can't see any way to do this. If I click in the cell to edit it, it the cursor goes where you click rather than selecting all.
Martin Ivanov
Telerik team
 answered on 22 Apr 2019
0 answers
100 views

Hi

I'm using button with material theme but default animation is very quickly, So I want to change animation duration to slow.
please help me, thanks

Mahdi
Top achievements
Rank 1
 asked on 19 Apr 2019
3 answers
338 views

Hello,

I'm developing a new app using telerik radwizard, using the example found at

https://docs.telerik.com/devtools/wpf/controls/radwizard/features/pages

However, when i try to run my application, i get an empty window (see image in attached filed)


I don't know what I'm doing wrong, can someone help me?

Source code bellow:

 

<Window x:Class="MainWindow.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"
                xmlns:wizard="clr-namespace:Telerik.Windows.Controls.Wizard assembly=Telerik.Windows.Controls.Navigation"
                Title="MainWindow"
                WindowState="Normal"
                WindowStartupLocation="CenterScreen"
                WindowStyle="None"
                Background="#dee3e9">
    <telerik:RadWizard x:Name="radWizard" >
        <telerik:RadWizard.WizardPages>
            <telerik:WizardPage Content="My Wizard Page Content" SideHeaderWidth="100" HeaderHeight="100">
                <telerik:WizardPage.HeaderTemplate>
                    <DataTemplate>
                       <Image Source="Images/BrandMark_Telerik_Black.png" Width="200" Height="100" />
                    </DataTemplate>
                </telerik:WizardPage.HeaderTemplate>
                <telerik:WizardPage.SideHeaderTemplate>
                    <DataTemplate>
                        <TextBlock Text="My Side Header" />
                    </DataTemplate>
                </telerik:WizardPage.SideHeaderTemplate>
                <telerik:WizardPage.FooterTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <telerik:RadButton Content="Back"
                                               Width="70" Height="25"
                                               Command="wizard:RadWizardCommands.MoveCurrentToPrevious"
                                               CommandParameter="{Binding}" />
                            <telerik:RadButton Content="Next" Width="70" Height="25"
                                               Command="wizard:RadWizardCommands.MoveCurrentToNext"
                                               CommandParameter="{Binding}" />
                        </StackPanel>
                    </DataTemplate>
                </telerik:WizardPage.FooterTemplate>
            </telerik:WizardPage>
        </telerik:RadWizard.WizardPages>
    </telerik:RadWizard>
</Window>
hema
Top achievements
Rank 1
 answered on 18 Apr 2019
1 answer
331 views

Hi,

I would like to create and use a converter to change the background of a single selected button among the three buttons available. I don't want to handle a click event of the buttons and handle it from code behind and so tried different ways to create the converters, however it didn't work. Below I am providing a sample of my scenario. Any help would be greatly appreciated. Thank you.
 

<StackPanel Grid.Row="0" HorizontalAlignment="Center" x:Name="FirstRowControl" Orientation="Horizontal" Margin="232,0,233,0">
<telerik:RadButton Name="btn1" FontWeight="SemiBold" Margin="5" Content="Button 1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="120" Height="25" BorderBrush="Black" Command="{Binding UpdateTabCommand}" >
<telerik:RadButton.CommandParameter>
<models:Tabs>Button1</models:Tabs>
</telerik:RadButton.CommandParameter>
</telerik:RadButton>
<telerik:RadButton Name="btn2" FontWeight="SemiBold" Margin="5" Content="Button 2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Height="25" BorderBrush="Black" Command="{Binding UpdateTabCommand}" >
<telerik:RadButton.CommandParameter>
<models:Tabs>Button2</models:Tabs>
</telerik:RadButton.CommandParameter>
</telerik:RadButton>

<telerik:RadButton Name="btn3" FontWeight="SemiBold" Margin="5" Content="Button 3" HorizontalAlignment="Left" VerticalAlignment="Top" Width="180" Height="25" BorderBrush="Black" Command="{Binding UpdateTabCommand}" >
<telerik:RadButton.CommandParameter>
<models:Tabs>Button3</models:Tabs>
</telerik:RadButton.CommandParameter>
</telerik:RadButton>
</StackPanel>

Code in the VM:
 
public DelegateCommand<Tabs?> UpdateTabCommand
{ get; }

public Tabs SelectedTab
{
get { return base.GetProperty<PedpTabs>(defaultValueFactory: () => Tabs.Button1); }
set { base.SetProperty(value); }
}

public enum Tabs
{
Button1,
Button2,
Button3
}


public ClassVM()
{
UpdateTabCommand = new DelegateCommand<Tabs?>(OnChangeTabExecute);
}


private void OnChangeTabExecute(PedpTabs? selectedTab)
{
this.SelectedTab = selectedTab ?? Tabs.StateChanges;
}

protected override void OnPropertyChanged(string propertyName)
{
base.OnPropertyChanged(propertyName);

switch (propertyName)
{
case nameof(SelectedTab):
OnTabChanged();
break;
}
}

private void OnTabChanged()
{
switch (SelectedTab)
{
case Tabs.Button1:
    MessageList = Messages2080;
    break;

case Tabs.Button2:
MessageList = Messages2088;
break;
case Tabs.Button3:
MessageList = Messages2010;
break;
}
}

Thanks, Chand

 

 

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Apr 2019
8 answers
983 views
Hi
we are now in the process of choosing a WPF control set and Telerik is the front runner.
One thing we would like to know is whether it is possible to easily change the funnel-like icon for the filter at the column header of GridView control. Some of the managers want to make sure that we are not going to be stuck with it.
Thanks
Nick
Martin Ivanov
Telerik team
 answered on 18 Apr 2019
1 answer
135 views
Hello, I implemented the ZoomAndScrollSettings declaratively in my RadChart using XAML (You can see the code snippet in the attached file). The problem is that the Scrollbar to scroll or to zoom isn't displayed in the diagram. Have I forgotten something or did I do something wrong?
Martin Ivanov
Telerik team
 answered on 18 Apr 2019
1 answer
749 views

Hi, I have a hierarchy that looks something like this:

<RadLayoutControl>

  <LayoutGroup>

    <LayoutExpanderGroup>
      <SomeControl/>
    </LayoutExpanderGroup>

    <LayoutExpanderGroup>

      <RadGridView/>

    </LayoutExpanderGroup>

  </LayoutGroup>

</RadLayoutControl>

My RadGridView has many columns and rows and so causes the entire <RadLayoutControl> to scroll.  Is it possible to configure this view so that only the <LayoutExpanderGroup> that contains the <RadGridView> will scroll?

Any help would be appreciated.

Vladimir Stoyanov
Telerik team
 answered on 17 Apr 2019
3 answers
228 views

Hi,

I'm using the CloudUpload in my application, and I was wondering if there was anyway to update the tooltip language resource of the RadCloudUploadListItem Close Button (I joined a screenshot of the tooltip I'm talking about). I wasn't able to find it in the xaml style template.

Could someone help me with this issue?

Thank you,

Vladimir Stoyanov
Telerik team
 answered on 17 Apr 2019
4 answers
284 views

I want to hide only the horizontal or vertical scrollbar. Is that possible ?

The only solution I found now is the following style :

<Style TargetType="telerik:PanZoomBar">
                <Setter Property="Visibility" Value="{Binding Customization.ChartZoomMode, Converter={StaticResource ChartScrollbarVisibilityConverter}}"/>
            </Style>

The problem here is that it is hiding both Scrollbars. Is there a option where I can decide which one I want to hide ?

How can I use correctly the above xaml in code behind ? 

This is not working :

   return new RadCartesianChart
            {
                //Resources = new ResourceDictionary()
                //{
                //    {"HideScrollBarStyle", new Style(typeof(PanZoomBar))
                //        {
                //            Setters =
                //            {
                //                new Setter()
                //                {
                //                    Property = ContentControl.VisibilityProperty,
                //                    Value = Visibility.Collapsed,
                //                }
                //            }
                //        }
                //    }
                //},
                HorizontalAxis = new CategoricalAxis()
                {
                    LabelFitMode = AxisLabelFitMode.Rotate,
                    PlotMode     = hasBarSeries ? AxisPlotMode.BetweenTicks : AxisPlotMode.OnTicks,
                    Title = Customization.XAxisName?.ToUpper(),
                    SmartLabelsMode = AxisSmartLabelsMode.SmartStep ,
                    LabelTemplate = new DataTemplate()
                    {
                        VisualTree = xAxisFormat,
                    },
 
                    //GapLength = 0.15,
                },
                VerticalAxis = this.HasMultipleAxis ? null : GetYAxis(),
                SmartLabelsStrategy = new ChartSmartLabelsStrategy()
                {
                    ShouldMinimizeConnectorConflicts = true,
                },
......
......
.....

 

Martin Ivanov
Telerik team
 answered on 17 Apr 2019
3 answers
212 views
Hi. I use AStarRouter and FindExtendedRoute. But if the diagram contains many items, it takes a very long time to load. This is especially noticeable when overlaying text on connectors. How I can optimize AStarRouter, for example, by reducing the number of search iterations? Or how I can catch a connection that takes a lot of time in FindExtendedRoute?
Petar Mladenov
Telerik team
 answered on 16 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?