Hi,
When a RadDocument is exported to docx file, page numbering doesn't work correctly. The total count and current page number is 1 on every page. When the same document is exported in pdf the numbering is fine... I'm using the code from you sample projects - CustomField class from CustomField_WPF used in TelerikEditorDemo_WPF project.
Is there any way to have a "DockedRight" RadPane expand into the application window, like the Solution Explorer of Visual Studio? Expanding outside the window seems an inconsistent user experience to me.
I've attached an image illustrating the problem - the RadPane expanding outside the window when docked right.
Hello
How can I change animation-duration of LayoutControlExpanderGroup?
I know, how I can activate the animation, but I don't know, how I can change the duration of the animation when the expander is expanded or collapsed.
I used the AnimationSelector, but this affects no changes to the duration.
<Style TargetType="telerik:LayoutControlExpanderGroup">
<Setter Property="telerik:AnimationManager.IsAnimationEnabled" Value="True">
</Setter>
<Setter Property="telerik:AnimationManager.AnimationSelector">
<Setter.Value>
<telerik:AnimationSelector>
<telerik:ExpanderExpandCollapseAnimation
AnimationName="Expand"
Direction="In"
TargetElementName="Content"
SpeedRatio="0.2" />
<telerik:ExpanderExpandCollapseAnimation
AnimationName="Collapse"
Direction="Out"
TargetElementName="Content"
SpeedRatio="0.2" />
</telerik:AnimationSelector>
</Setter.Value>
</Setter>
</Style>
Sincerly
Alex
Hi,
My application is being developed in WPF which has lot of data being shown on different screens, opens multiple windows parallelly each window showing different and considerable volume of data in it. It is a standalone application and have to install on each user machine and handle the updates of the application. In normal to most situations the screens will end up accumulating more memory and CPU after some screens opened and eventually turning up as slow responsive. I am thinking to convert the application into application virtualization/streaming without actually installing on each machine. That way the underlying memory and CPU problems doesn't hamper the performance of my application. Any suggestions on how we can implement/convert existing application as one to virtually launchable.
e.g: Microsoft App-V
Thanks,
Chand.
If I open a view and then hit the X to collapse the view, there is a focused blurred area that won't go away. I need the items to collapse rather then close because I keep them in memory. So how can I fix this blurred box staying on the screen when setting a view to Collapsed?
The first pictures shows with View open. The second picture is how it looks if the View is collapsed. And here is the code I run to collapse it:
private void RadWindow_PreviewClosed(object sender, Telerik.Windows.Controls.WindowPreviewClosedEventArgs e)
{
Visibility = Visibility.Collapsed;
e.Cancel = true;
}
And this is how the MainWindow initializes the Fluent Theme and opens the windows when clicked:
public partial class MainWindow : RadWindow
{
public MainWindow()
{
InitializeComponent();
StyleManager.ApplicationTheme = new FluentTheme();
FluentPalette.LoadPreset(FluentPalette.ColorVariation.Dark);
FluentPalette.Palette.FontSizeS = 8;
FluentPalette.Palette.FontSize = 12;
FluentPalette.Palette.FontSizeL = 14;
FluentPalette.Palette.FontSizeXL = 16;
}
private void View1Button_Click(object sender, RoutedEventArgs e)
{
EmptyDialog emptyDialog = new EmptyDialog();
emptyDialog.Owner = this;
emptyDialog.View = new View1ViewModel();
emptyDialog.Height = 500;
emptyDialog.Width = 500;
emptyDialog.Show();
}
private void View2Button_Click(object sender, RoutedEventArgs e)
{
EmptyDialog emptyDialog = new EmptyDialog();
emptyDialog.Owner = this;
emptyDialog.View = new View2ViewModel();
emptyDialog.Height = 500;
emptyDialog.Width = 500;
emptyDialog.Show();
}
}
}
I want to add the tooltip to the expander in the TreeListView. The question is that I want the different tooltip when in expanded and collapsed status if I hover over the expander.
So I think that I have to apply the ControlTemplate triggers of the ToggleButton. Thanks for the code help.
Hello,
The RadMaskedNumericInput.ValueChanged event is only fired after a user-triggered action, whereas RadNumericUpDown.ValueChanged not (changing value from code behind triggers this event aswell).
Does this difference is a desired behavior? Is there a possibility to make RadNumericUpDown act like RadMaskedNumericInput?
Please see code sample below.
public partial class MainView : Window
{
public MainView()
{
InitializeComponent();
RadNumericUpDownTest.ValueChanged += RadNumericUpDownTestOnValueChanged;
RadMaskedNumericInputTest.ValueChanged+=RadMaskedNumericInputTestOnValueChanged;
UpdateButton.Click+=UpdateButtonOnClick;
}
private void UpdateButtonOnClick(object sender, RoutedEventArgs routedEventArgs)
{
RadNumericUpDownTest.Value = 1;
RadMaskedNumericInputTest.Value = 1;
}
private void RadNumericUpDownTestOnValueChanged(object sender, RadRangeBaseValueChangedEventArgs radRangeBaseValueChangedEventArgs)
{
//This event is triggered after value is changed from code behind
}
private void RadMaskedNumericInputTestOnValueChanged(object sender, RadRoutedEventArgs radRoutedEventArgs)
{
//This event is not triggered after value is changed from code behind
}
}
I have a chart with multiple ScatterSplineAreaSeries and a ScatterPointSeries. When I add a ChartTooltipBehavior to the chart, I see tooltips for the scatter points but not the area.
Is tooltip not supported for ScatterSplineAreaSeries?
I want to add a style to the emptytext of the radcombobox that works across the entire application.
From what I can see I have to use http://docs.telerik.com/devtools/wpf/controls/radcombobox/howto/create-a-watermark but if I use
<
DataTemplate
x:Key
=
"EmptyTemplate"
>
<
TextBlock
FontWeight
=
"Bold"
FontFamily
=
"Comic Sans"
FontStyle
=
"Italic"
Text
=
"Please select an agency"
/>
</
DataTemplate
>
<
telerik:RadComboBox
Grid.Column
=
"3"
Grid.Row
=
"3"
SelectedItem
=
"{Binding Path=CreateVetPcrTestSignup.SelectedVetPcrTestKit}"
DisplayMemberPath
=
"Name"
IsEditable
=
"False"
EmptySelectionBoxTemplate
=
"{StaticResource EmptyTemplate}"
EmptyText
=
"{x:Static localization:SignupTexts.PcrKitDefaultValue}"
ItemsSource
=
"{Binding Path=PcrTestKits}"
/>
I want {x:Static localization:SignupTexts.PcrKitDefaultValue} to be used here, but I of course get "Please select an agency", I tried removing the name from the template, but then its just empty. Is there a way to parse the empty text into the template or use a styling somehow that only affects the emptytext?