C# Class Talifun.Commander.UI.ComplexGroupConverter

ComplexGroupConverter is a IMultiValueConverter used in MultiBindings in conjuction with the ComplexGroupDataTemplateSelector to enable complex data template hierachies example usage: ... <complex:ComplexGroupConverter x:Key="group-converter"/> <HierarchicalDataTemplate DataType="{x:Type cpn:INet}"> <HierarchicalDataTemplate.ItemsSource> <MultiBinding Converter="{StaticResource group-converter}"> <Binding Path="Definitions"/> <Binding Path="Pages"/> </MultiBinding> </HierarchicalDataTemplate.ItemsSource> <StackPanel Orientation="Horizontal"> <Image Source="net.png" VerticalAlignment="Center"/> <TextBlock Text="{Binding Path=Label}"/> </StackPanel> </HierarchicalDataTemplate>
Inheritance: IMultiValueConverter
Afficher le fichier Open project: taliesins/talifun-commander

Méthodes publiques

Méthode Description
Convert ( object values, Type targetType, object parameter, System culture ) : object
ConvertBack ( object value, Type targetTypes, object parameter, System culture ) : object[]

Method Details

Convert() public méthode

public Convert ( object values, Type targetType, object parameter, System culture ) : object
values object
targetType System.Type
parameter object
culture System
Résultat object

ConvertBack() public méthode

public ConvertBack ( object value, Type targetTypes, object parameter, System culture ) : object[]
value object
targetTypes System.Type
parameter object
culture System
Résultat object[]