Telerik Forums
UI for WPF Forum
5 answers
219 views

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.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Aug 2018
5 answers
257 views

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

Stefan
Telerik team
 answered on 02 Aug 2018
0 answers
136 views

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.

Chandra Sekhar
Top achievements
Rank 1
 asked on 01 Aug 2018
1 answer
88 views

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();
        }
    }
}

 

 

Stefan
Telerik team
 answered on 01 Aug 2018
3 answers
476 views

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.

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Aug 2018
1 answer
348 views

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
        }
    }

Dinko | Tech Support Engineer
Telerik team
 answered on 01 Aug 2018
1 answer
182 views

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?

Martin Ivanov
Telerik team
 answered on 01 Aug 2018
3 answers
1.0K+ views

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>
 Then I cant specify the text in the control that uses it like

<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?

Dinko | Tech Support Engineer
Telerik team
 answered on 31 Jul 2018
1 answer
127 views

Does the RadReichTextBox support inserting images from the remote server specified directory, opening a window, displaying thumbnails, and selecting multiple pictures?

such as, I have a static resources server ,I want to open a file window with the specified directory(http://192.168.1.103:8089/surveypics/), ,when open it ,shows the thumbnails of pictures, and choose one or more pictures to insert into the RadRichTextBox

how to solve this?

Tanya
Telerik team
 answered on 31 Jul 2018
5 answers
422 views
I am displaying 2 or more BarSeries on a categorical x axis.  If the first series has x values of "A", "D", and "G", and a second series has values of "B" and "C", the categories are displayed on the X axis, from left to right as A D G B C. I understand that the categories from the first axis are added first, then the categories from the second axis, etc.  I want the categories to be sorted alphabetically: A B C D G.

I have tried creating a dummy series that has all possible x (category) values (sorted) and added it first to the chart (the y values are all zero). That does sort the categories, but it is unsatisfactory because my bar series are clustered. This reserves a space in the cluster for the fake 0 valued data point. I have tried to remove my fake series after adding my other series, but that does not work (I assume because it's removed before rendering takes place). I have  also tried to set the visibility of the point to Collapsed for y values of zero, but that did not alter the clustering of the bars.

Any help is appreciated.

Thanks - Mitch
Martin Ivanov
Telerik team
 answered on 31 Jul 2018
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?