Telerik Forums
UI for WPF Forum
4 answers
153 views
I have a scatter plot which I would like to go from +Value to -Value in each axes with 0 always visible at the centre of the axis. 

Setting the minimum and maximum value of each axis (for example +/- 14) sometimes works but often it will not display as I want. The first picture example I've attached shows that the axis displays from -14 to +11 with 1 in the centre. Is there a way that I can dynamically set the axis to always display -Value to +Value with 0 always in the centre? 

Another problem I am having with these charts, even when I do get 0 at the centre of the axis, is that when I zoom in often get a value like -4E-27 as the centre value (see the second attached picture). Again is there a way to keep this at 0?

Thanks in advance for the help.
Petar Marchev
Telerik team
 answered on 19 Feb 2014
3 answers
131 views
Hi,

I am using the IsFilteringEnabled functionality in the RadComboBox control to allow our users to filter on a list of items as they type.
I have hooked up the KeyDown event in the code behind to set the IsDropDownOpen to true so the user can see the filtered items when they type. The functionality works well apart from an unexpected side effect:

1. click in the combo box text box and start typing e.g. bb
2. the drop down expands and shows available items matching bb as the user types
3. press ESC button and the drop down closes and the cursor remains at the end of the bb text in the text box.
4. when the user continues to type to add c at the end i.e. bbc I would expect the list of items to show only those containing bbc text. What actually happens is that the text bb is automatically highlighted and when the user types c the letters bb are erased and filter searches for items containing the letter c. This is unexpected.

I would like stop this automatic text highlighting on a subsequent key press after pressing escape otherwise users will need to start their filter search from the beginning which is unnatural.

Thanks,

Chris

XAML

 <telerik:RadComboBox x:Name="comboBoxCpty"  Grid.Row="0" Grid.Column="1" ItemsSource="{Binding CptyList}" 
                  IsFilteringEnabled="True"                  
                  IsEditable="True"  
                  TextSearchMode="Contains"
                  SelectedValuePath="CptyCode" 
                  DisplayMemberPath="Description"
                  SelectedValue="CptyCode"                  
                  KeyDown="ComboBoxCpty_OnKeyDown">
            <telerik:RadComboBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <VirtualizingStackPanel />
                </ItemsPanelTemplate>
            </telerik:RadComboBox.ItemsPanel>
        </telerik:RadComboBox>

Code Behind
private void ComboBoxCpty_OnKeyDown (object sender, KeyEventArgs e)
        {            
            comboBoxCounterparty.IsDropDownOpen = true;
        }
Rosen Vladimirov
Telerik team
 answered on 19 Feb 2014
2 answers
263 views
Hi,

I am using a RadCartesianChart with DateTimeCategoricalAxis.

I want to be able to get the actual minimum and maximum values seen on my chart for both the x and y axis everytime I scroll.

I also want to be able to get the data item on mouse click, or the collection of items on mouse drag.

Is it possible to do this? If so, how?

I have tried everything, but this nothing works.

Can Telerik chart support this, or should I be looking elsewhere?

Thanks.
Coder
Top achievements
Rank 1
 answered on 19 Feb 2014
3 answers
98 views
Hello

Does anyone know if it is possible to set a separate style for the unfocused state selected of a GridViewCell when the Grid SelectionMode="Cell"?

I was thinking something like this:

http://​www.telerik.com/help/wpf/gridview-selection-unfocused-state.html

but just for when cells are selected, rather than rows.

Many thanks in advance.
Dimitrina
Telerik team
 answered on 18 Feb 2014
2 answers
242 views
Hi everyone,

I am developing a WPF application at my company.
I use controls from RadControls For WPF Trial Version assemblies including the RadDocking control.
The StyleManager.ApplicationTheme property is set to an instance of SummerTheme.

When the user closes a floating Pane then the containing ToolWindow fades away and disappears as shown on the attached pictures 1.png to 3.png.
I want the ToolWindow to disappear without fading away.
What do I need to do ?

Thank you in advance for your help
Pascal GUERY
Top achievements
Rank 1
 answered on 18 Feb 2014
1 answer
178 views

Hello,
I have an application with the following properties:

  • The application can have multiple main windows.
  • Each main window contains a RadRibbonView and so inherites from RadRibbonWindow.
  • In addition, I need to create another main window that doesn't contain a RadRibbonView, and so I used a RadWindow to implement it.

I can create this new window, show it in the taskbar and interact with it.
The problem appears when the window is in background and the user clicks on the button to display it. Normally the window should be bring at the top of all windows. I have tried to call BringIntoView, but it doesn't work. In a standard WPF window, I can call Activate to do the job, but this method is not implemented in RadWindow.

How can I implement this feature?

Patrick

Konstantina
Telerik team
 answered on 18 Feb 2014
4 answers
116 views
When Aero is turned off (theme switched to basic) all the other windows (including standard WPF windows) no longer have the glowing border but Telerik RadWindow still does.

Telerik RadWindow should remove the glowing border as well so this is something that should be addressed by Telerik in my opinion but in the meantime is there a workaround to detect when Aero is turned off and manually remove the RadWindow borders?

Screenshot attached.
Yana
Telerik team
 answered on 18 Feb 2014
3 answers
200 views
 please see following code
this wont work with radwindow.

please let me know any equivalent code with rad window.

here New WindowInteropHelper(Me).Handle not work as Me is telerik rad window and not system window.
Imports Telerik.Windows.Controls
 
Imports System.Windows
Imports System.Windows.Interop
 
Class MainWindow
    Inherits RadWindow
 
    Public Sub New()
        InitializeComponent()
        ' Disables inking in the WPF application and enables us to track touch events to properly trigger the touch keyboard
        InkInputHelper.DisableWPFTabletSupport()
        AddHandler Me.Loaded, AddressOf MainWindow_Loaded
    End Sub
 
    Private Sub MainWindow_Loaded(sender As Object, e As RoutedEventArgs)
        ' Enables WPF to mark edit field as supporting text pattern (Automation Concept)
        Dim asForm As System.Windows.Automation.AutomationElement = System.Windows.Automation.AutomationElement.FromHandle(New WindowInteropHelper(Me).Handle)
 
        'Dim asForm As Telerik.Windows.A = System.Windows.Automation.AutomationElement.FromHandle(New WindowInteropHelper(Me).Handle)
 
        '' Windows 8 API to enable touch keyboard to monitor for focus tracking in this WPF application
        Dim inputPanelConfig As New InputPanelConfigurationLib.InputPanelConfiguration()
        inputPanelConfig.EnableFocusTracking()
    End Sub
 
End Class
Vladi
Telerik team
 answered on 18 Feb 2014
4 answers
162 views
Hi all,

I'm trying to bind a RadPane its header property to a multibinding with a specific converter on it.
That doesn't seem to work, could someone please explain why?

<code>
<telerik:RadPane>
   <telerik:RadPane.Header>
      <MultiBinding Converter="{StaticResource StringFormatConverter}" ConverterParameter="{}{0} ({1})">
                                <Binding Path="{loc:Res Id=SomeHeaderId, Default='Signal explorer', ResourceSet={StaticResource LocalResourceSet}}" />
                                <Binding Path="{Binding SomeViewModel.SomeProperty}" />
      </MultiBinding>
   </telerik:RadPane.Header>
</telerik:RadPane>
</code>

Thnx in advance!

Kind regards,
Dwight
Paul
Top achievements
Rank 1
 answered on 18 Feb 2014
3 answers
280 views
Hi,
I have a query.I am developing WPF app and using MVVM Architecture.
 I have a RadListbox which gives the option of selecting multiple items.I want to access the selected items in my Viewmodel. How do i do it??

Thanks in advance

Shruti
Yana
Telerik team
 answered on 18 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?