Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
755
How to get tabItemEx from tablecontrol
posted

Hi all

How can I get all tabitemEx from tablecontrol here?

<igWpf:XamRibbonWindow x:Class="CustomCopyNas.Dialog.FolderDialog"
                       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                       xmlns:igWpf="http://schemas.infragistics.com/xaml/wpf"
                       xmlns:classes="clr-namespace:CustomCopyNas.Classes"
                       Title="FolderDialog" Height="500" Width="400" ResizeMode="NoResize"
                       Loaded="FolderDialog_OnLoaded">
    <igWpf:RibbonWindowContentHost x:Name="contentHost"
                                   Theme="Office2013"
                                   igWpf:RibbonWindowContentHost.ApplicationAccentColor="#19A319">

        <Grid Name="RootGrid" Margin="0,0,0,0">
            <TreeView x:Name="_foldersItem" Width="Auto" Background="#FFFFFFFF" BorderBrush="#FFFFFFFF"
                      Foreground="#FFFFFFFF">
                <TreeView.ItemContainerStyle>
                    <Style TargetType="{x:Type TreeViewItem}">
                        <EventSetter Event="MouseDoubleClick" Handler="EventSetter_OnHandler" />
                    </Style>
                </TreeView.ItemContainerStyle>
                <TreeView.Resources>
                    <Style TargetType="{x:Type TreeViewItem}">
                        <Setter Property="HeaderTemplate">
                            <Setter.Value>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal">
                                        <Image Name="img" Width="20" Height="20" Stretch="Fill"
                                               Source="{Binding
                                       RelativeSource={RelativeSource
                                       Mode=FindAncestor,
                                       AncestorType={x:Type TreeViewItem}},
                                       Path=Header,
                                       Converter={x:Static classes:HeaderToImageConverter.Instance}}" />
                                        <TextBlock Text="{Binding}" Margin="5,0" />
                                    </StackPanel>
                                </DataTemplate>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </TreeView.Resources>
            </TreeView>
        </Grid>
    </igWpf:RibbonWindowContentHost>
</igWpf:XamRibbonWindow>


thanks