Declined
Last Updated: 11 Aug 2016 14:04 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 0
Category: TabControl
Type: Bug Report
10
Loaded event of the RadTabItem's content is fired twice in WPF.

Declined: The behaviour is caused due to the way how the WPF framework operates with ContentControl and their Content property(the RadTabItem is HeaderedContentControl which derives from ContentControl). The Content property is automatically registered to the LogicalTree when it is set, this is causing the first loaded event to be fired. After a selection is made the RadTabControl inserts/visualizes the Content of its selected RadTabItem in its ContentPresenter, this causes the control to fire its loaded event as it is loaded into the VisualTree.

private void Content_Loaded(object sender, RoutedEventArgs e)
{
	if (VisualTreeHelper.GetParent(sender as DependencyObject) != null)
	{
		// Execute the logic for LoadedEvent.
	}
}
Declined
Last Updated: 10 Nov 2016 08:28 by ADMIN
Tabcontrol doesn't work correctly when we set the properties TabOrientation="Vertical" and AllTabsEqualHeight="False". The Header are always Aligned left no matter the value align property.

DECLINED: This issue cannot be reproduced with R3 2016 release version.
Declined
Last Updated: 11 Aug 2021 15:47 by Petar
The DropDownContentTemplate is not applied to items in the dropdown menu that are dynamically added. 
Declined
Last Updated: 09 Sep 2016 08:55 by ADMIN
DECLINED: This issue is not reproducible with R2 SP1 2016 Release.