or
Hello,
I have an application with the following properties:
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
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