Hello,
i'm want to change mouse over event to disable in RadPanelBar. I tried several thinks on that topic, but nothing works. I tried this:
https://docs.telerik.com/devtools/wpf/styling-and-appearance/styling-apperance-editing-control-templates?_ga=2.187479073.827374626.1595174688-1718886426.1590775437
When i found component for changing (first i tried to RadButton). I'm change mouse over value property (setter) and nothing change. First i cannot found in Telerik.Windows.Controls.xaml , but i found it in Telerik.Windows.Controls.ConversationalUI.xaml . Pls do you have it some guide how to change it properly ?
Thanks for your time and i'm glad to see your answer.
Hi
We have a RadTabbedWindow with tabs as itemsource. Is it possible to have a status bar at the bottom?
And whenI put in the statusbar-markup I get the error message "System.InvalidOperationException: 'Operation is not valid while ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead.'"
Just for laughs I have tried to add status bar to the user controls for the tabs as well, but it cant go there
<telerik:RadTabbedWindow
...
ItemsSource="{Binding WindowTabs}"
SelectedItem="{Binding SelectedWindowTab, Mode=TwoWay}">
<telerik:RadTabbedWindow.Resources>
...
</telerik:RadTabbedWindow.Resources>
<telerik:RadTabbedWindow.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding TabHeader}" Foreground="Black"/>
</DataTemplate>
</telerik:RadTabbedWindow.ItemTemplate>
<StatusBar Name="sbar" VerticalAlignment="Bottom" >
<StatusBarItem>
<TextBlock>Im a status bar!</TextBlock>
</StatusBarItem>
</StatusBar>
</telerik:RadTabbedWindow>
I have a chart showing only 3012 scatter area series. Each series is just a filled narrow bar that represents a frequency range, so there are only 2 data points for each series.
When I enable labels, it takes 38+ seconds to draw the chart. When I disable labels (ScatterAreaSeries.ShowLabels = false), it is less than 2 seconds.
Any ideas what is going on? I do have an isolated sample.
(I am running on 64-bit Win 10 with 2017.3.1018.45 (NoXaml)).
Thanks.
-John.
Hi,
I am seeing that the wpf TreeView do not scroll automatically to show the expanded nodes, when I expand a node in the tree view(I have to scroll manually after expanding), So I want to achieve the behaviour in the gif that I attached. This was the default behaviour for my legacy winforms tree, but the wpf telerik:RadTreeView does not have that behaviour. How can I achieve that behaviour with wpf telerik:TreeView.
Hello,
I have copied the Example 1 XAML code from
https://docs.telerik.com/devtools/wpf/controls/raddiagram/features/routing
but the result is not the one shown in Figure 1 of the same link, but the one in the attached image. What is the difference? I have tried changing the DiagramConstants.RoutingGridSize constant, but it does not solve the issue.
Someone can help me?
Thank you!
All connections in my project should be orthogonal. I have two type of connection in my project.
I use: AStarRouter and WallOptimization = true.
Problem:
When I move a shape with „manual connections", this connection is not
orthogonal.
Question: Is
there a way to keep connections orthogonal and keep connection points?
SelectedDate
="{Binding Path=SampleDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
Note: In WPF datepicker i have a "Text" property where the UpdateSourceTrigger works perfectly. Need a similar behavior in RadDatePicker also.
Also I am using MVVM model. So i need suggestions which does not require XAML.cs change. All i should do is within XAML.
I have pasted a sample code below. Just type in some valid date in WPF datepicker, button will be enabled. But the same button is not getting enabled if i type in a date in RadDatePicker. You might know better than me... I need the same behavior as like the WPF date picker. Please help
<Window x:Class="DatePickerTextBoxSample.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"> |
<Grid> |
<Button Name="SampleButton" Content="Click Here" Height="20" Width="150" HorizontalAlignment="Left" VerticalAlignment="Bottom" IsEnabled="{Binding Path=IsDateChanged,Mode=TwoWay}" Click="SampleButton_Click" /> |
<DatePicker Text="{Binding Path=WpfDatePickerDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Height="25" HorizontalAlignment="Left" Margin="118,218,0,0" Name="datePicker1" VerticalAlignment="Top" Width="115" /> |
<telerik:RadDatePicker SelectedDate="{Binding Path=RadDatePickerDate,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Height="25" HorizontalAlignment="Left" Margin="250,218,0,0" Name="datePicker2" IsDropDownOpen="False" VerticalAlignment="Top" Width="115" /> |
</Grid> |
</Window> |
using System; |
using System.Collections.Generic; |
using System.Linq; |
using System.Text; |
using System.Windows; |
using System.Windows.Controls; |
using System.Windows.Data; |
using System.Windows.Documents; |
using System.Windows.Input; |
using System.Windows.Media; |
using System.Windows.Media.Imaging; |
using System.Windows.Navigation; |
using System.Windows.Shapes; |
using System.ComponentModel; |
namespace DatePickerTextBoxSample |
{ |
/// <summary> |
/// Interaction logic for MainWindow.xaml |
/// </summary> |
public partial class MainWindow : Window, INotifyPropertyChanged |
{ |
private DateTime radDatePickerDate; |
private DateTime wpfDatePickerDate; |
public DateTime WpfDatePickerDate |
{ |
get { return wpfDatePickerDate; } |
set |
{ |
wpfDatePickerDate = value; |
IsDateChanged = true; |
NotifyPropertyChanged("WpfDatePickerDate"); |
} |
} |
private bool _isDateChanged; |
public bool IsDateChanged |
{ |
get { return _isDateChanged; } |
set |
{ |
_isDateChanged = value; |
NotifyPropertyChanged("IsDateChanged"); |
} |
} |
public DateTime RadDatePickerDate |
{ |
get |
{ |
return radDatePickerDate; |
} |
set |
{ |
wpfDatePickerDate = value; |
IsDateChanged = true; |
NotifyPropertyChanged("RadDatePickerDate"); |
} |
} |
public MainWindow() |
{ |
InitializeComponent(); |
thisthis.DataContext = this; |
} |
#region INotifyPropertyChanged Members |
public event PropertyChangedEventHandler PropertyChanged; |
protected void NotifyPropertyChanged(String info) |
{ |
if (PropertyChanged != null) |
{ |
PropertyChanged(this, new PropertyChangedEventArgs(info)); |
} |
} |
#endregion |
private void SampleButton_Click(object sender, RoutedEventArgs e) |
{ |
SampleButton.IsEnabled = false; |
} |
} |
} |
Hi there,
I'd like to change the padding of my listbox on the right side depending on the 3 states of the vertical scrollbar (i.e collapsed, compact, normal).
Doing the following tweak allows me to change the padding when the vertical scrollbar is visible or not but I can't find how to change the padding based on the compact/normal mode state of the scrollbar.
<
telerik:RadListBox.Style
>
<
Style
TargetType
=
"{x:Type telerik:RadListBox}"
>
<
Setter
Property
=
"Padding"
Value
=
"8,4"
/>
<
Style.Triggers
>
<
Trigger
Property
=
"ScrollViewer.ComputedVerticalScrollBarVisibility"
Value
=
"Visible"
>
<
Setter
Property
=
"Padding"
Value
=
"8,4,24,4"
/>
</
Trigger
>
</
Style.Triggers
>
</
Style
>
</
telerik:RadListBox.Style
>
Hi!
According to the documentation for SpreadsheetStreamingExport there is a property "ExcludedColumns" in the class "GridViewSpreadStreamExportOptions". See here . This property is missing and only available in "GridViewDocumentExportOptions". I really miss this property badly because I have to exlude some columns when exporting. Is this a bug or error in documentation?
Best regards
Heiko
In the sample below, copy and paste will operate on the row as expected but delete is disabled. I'm expecting delete to allow me to delete the row (as if I pressed the delete key on the keyboard).
<
telerik:RadGridView
x:Name
=
"RadGridView"
>
<
telerik:RadGridView.ContextMenu
>
<
ContextMenu
>
<
MenuItem
Command
=
"ApplicationCommands.Copy"
></
MenuItem
>
<
MenuItem
Command
=
"ApplicationCommands.Paste"
></
MenuItem
>
<
MenuItem
Command
=
"ApplicationCommands.Delete"
></
MenuItem
>
</
ContextMenu
>
</
telerik:RadGridView.ContextMenu
>
</
telerik:RadGridView
>
public
GridMenuTestWindow ()
{
InitializeComponent ();
ObservableCollection<MyData> dataList =
new
ObservableCollection<MyData> ();
for
(
int
i = 0; i < 4; i++)
{
dataList.Add (
new
MyData () {Name =
"Name"
+ i});
}
this
.RadGridView.ItemsSource = dataList;
}
public
class
MyData
{
public
String Name {
get
;
set
; }
}