1234567891011121314151617181920212223242526272829303132333435363738 |
- <UserControl x:Class="FurnaceUI.Views.Scheduled.StepGroupSelectView"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:FurnaceUI.Views.Scheduled"
- mc:Ignorable="d"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:cal="http://www.caliburn.org"
- Height="300" Width="600">
-
-
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- </Grid.RowDefinitions>
- <ListBox ItemsSource="{Binding CurrentNode.Items}">
- <ListBox.ItemsPanel>
- <ItemsPanelTemplate>
- <UniformGrid Columns="5" Rows="2"></UniformGrid>
- </ItemsPanelTemplate>
- </ListBox.ItemsPanel>
- <ListBox.ItemTemplate>
- <DataTemplate>
- <RadioButton Margin="5" Width="95" Height="100" Content="{Binding Name}" IsChecked="{Binding IsExpanded}">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="StepGroupEdit">
- <cal:Parameter Value="{Binding Name}"/>
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </RadioButton>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- </Grid>
- </UserControl>
|