I am developing HMI Tool using Layoutcontrol.
I added Control(Button) to LayoutControl using LayoutControlToolBoxView.
What should I do if I want to receive the button's Event?
To achieve this functionality, you can subscribe to the ButtonBase.Click event of RadLayoutControl. This event will occur when a button inside the RadLayoutControl is clicked.
The following code snippets show this suggestion's implementation:
<telerik:RadLayoutControl x:Name="layout" ButtonBase.Click="layout_Click"/>
private void layout_Click(object sender, RoutedEventArgs e)
//Execute logic here
In addition, the following article contains additional information regarding the ButtonBase.Click event:
ButtonBase.Click Event (System.Windows.Controls.Primitives) | Microsoft Learn
With this being said, I hope the provided information will be of help to you.
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.