Page 1 of 1

Listbox dataTemplate

Posted: Mon May 12, 2014 7:11 am
by Heiki
Hello,

I know that in Visual Studio XAML code I can create DataTemplates for ListBox like this:

Code: Select all

<ListBox ItemsSource="{Binding Inputs}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                            <ColumnDefinition Width="*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Column="0" Text="{Binding Name}"/>
                        <Ellipse Grid.Column="1" Fill="{Binding IndicatorColor}"/>
                    </Grid>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
Do you have an example how to create ListBox datatemplates in iX Developer?

Best regards,
Heiki

Re: Listbox dataTemplate

Posted: Tue Jan 21, 2020 6:12 pm
by Chris T.
The only way to create XAML in iX developer is by using the PC runtime. We have some pretty extensive documentation in the scripting help (found by pressing F1 in the scripting section of iX).