Telerik Forums
UI for WPF Forum
2 answers
258 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
212 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
129 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
224 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
173 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
298 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
1 answer
146 views
Sorry if this has been discussed, I searched but did not find anything.  I have the below code in the code behind of my View, but would like to move it to the viewmodel and use binding to set it.  I know how to set everything up except for binding the DistinctFilter.  Is this possible?  If you need more information, I'll try to provide as much as I can.

private void ChartSelectionBehavior_SelectionChanged(object sender, Telerik.Windows.Controls.ChartView.ChartSelectionChangedEventArgs e)
        {
            grid.FilterDescriptors.SuspendNotifications();
 
            IColumnFilterDescriptor filter = grid.Columns["Status"].ColumnFilterDescriptor;
            filter.SuspendNotifications();
 
            foreach (var point in e.AddedPoints)
            {
                var value = ((PieChartData)point.DataItem).Label;
                filter.DistinctFilter.AddDistinctValue(value);
            }
 
            foreach (var point in e.RemovedPoints)
            {
                var value = ((PieChartData)point.DataItem).Label;
                filter.DistinctFilter.RemoveDistinctValue(value);
            }
 
            filter.ResumeNotifications();
            grid.FilterDescriptors.ResumeNotifications();
 
        }
Dimitrina
Telerik team
 answered on 18 Feb 2014
13 answers
179 views
Hey, I'm currently having an issue with grouping not working with a column converter, when bound to a VirtualQueryableCollectionView.
When grouping a column with a converter in its databinding (by dragging the column header over the grouping panel), the values displayed are not the converted values, but the underlying values on my model. What is odd, is that the converted values are displayed in the grid, and all the column filtering (with the distinct value filters) are all working as expected. That is, they are having their values run through a converter.

Here is a sample of our code:

Xaml:
<telerik:RadGridView ItemsSource="{Binding QueryableRiskEvents}" AutoGenerateColumns="False" IsReadOnly="True" ">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding risk_id}" Header="ID"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding equipment_code}" Header="Equipment"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding risk_description}" Header="Description"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding start_date}" Header="Start"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding end_date}" Header="End"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding risk_status, Converter={StaticResource StatIntToString}}" Header="Status"/>

C# (on our viewmodel):
public VirtualQueryableCollectionView QueryableRiskEvents
{
            get
            {
                var query = Repository.Entities.RiskEvents.OrderBy(r => r.start_date);
                _queryableRiskEvents = new VirtualQueryableCollectionView(query, typeof(RiskEvent))
                {
                    LoadSize = 10,
                };
                return _queryableRiskEvents;
            }
        }

C# (the converter):
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
    {
            return "hello";
        }
 
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
    {
            return value;
    }


With this simplified example, grouping by our Status column shows the underlying integers, rather than multiple "hello" strings. 

I have tried just binding the ItemSource to the IQueryable directly (without wrapping it in the VirtualQueryableCollectionView), and the same problem occurs. However, the grouping works perfectly if bound to an IEnumerable source (but fetches all db results at once).
 
I'd greatly appreciate any tips on how we can get the expected behaviour working (as it already does with the filtering).

Dimitrina
Telerik team
 answered on 18 Feb 2014
8 answers
373 views
Hi,

I would like to know how I can hide the delete (X) button in each appointment spot?

Thank's
Alain
Kalin
Telerik team
 answered on 18 Feb 2014
1 answer
296 views
I have RadPaneGroup on the right side of my application window. The PaneGroup contains several RadPanes, that are not pinned by default.

When the user clicks one of these panes the pane appears instantly without enervating animation. Then the user pins the pane. When he unpins it again, the pane slides back to its PaneGroup and "disappears".

The problem is, that when sliding back, there is some animation I cannot impede. I don't want any animation when inning and unpinning my panes, because this lets the application appear slow to the user.

I tried:

<telerik:RadPane Title="Editor" IsPinned="False" CanUserClose="False" Name="EditorPane" telerikAnimation:AnimationManager.IsAnimationEnabled="False">
    <controls:Editor x:Name="Editor"/>
</telerik:RadPane>

But still there is some animation when unpinning the pane.

How get I rid of the animation???
Masha
Telerik team
 answered on 18 Feb 2014
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?