Category / Section
How to disable mouse hover effect and selection changed manually in TabControlExt?
1 min read
Mouse interaction with TabItemExt can be restricted by setting IsHitTestVisible property as false. It will disable the MouseHover effect on TabItemExt header and SelectionChanged in TabControlExt manually. The following code has been explained as below,
<Window.Resources> <Style TargetType="{x:Type Syncfusion:TabItemExt}"> <Setter Property="IsHitTestVisible" Value="False"/> </Style> </Window.Resources> <Grid> <Syncfusion:TabControlExt Name="Tabcontrolext"> <Syncfusion:TabItemExt Header="Tab1" /> <Syncfusion:TabItemExt Header="Tab2"/> <Syncfusion:TabItemExt Header="Tab3"/> <Syncfusion:TabItemExt Header="Tab4"/> </Syncfusion:TabControlExt> </Grid>