Can you have an Expander within an Expander? User is wanting to break out two different options the second will be active if certain criteria is set else where (basically additional questions that need to be answered. When I tried to set up an example it is telling me that "Content" is set multiple times, so I'm not sure if it's because I can't do this or if I have to set it up differently. Below is code I was testing with:
<!--Christmas Trees Option M --> <Border Grid.Row="11" Grid.ColumnSpan="7" CornerRadius="0" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Margin="5" Background="Transparent"> <telerik:RadExpander x:Name="ChristmasTrees" ExpandDirection="Down" VerticalAlignment="Top" Margin="0" > <telerik:RadExpander.Header> <TextBlock Text=" Christmas Trees" /> </telerik:RadExpander.Header> <telerik:RadExpander.Content> <ContentControl Background="Transparent" HorizontalContentAlignment="Stretch" IsEnabled="{Binding IsSDI_PropertyOptionMExpandedOperational, Mode=TwoWay}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.Column="0" Text="Are the annual gross receipts for the flower, greenhouse, nursery, Christmas Tree" VerticalAlignment="Center" Margin="5" /> <TextBlock Grid.Row="1" Grid.Column="0" Text=" business incidental to the annual gross receipts for the farming operation? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" Margin="0"> <RadioButton GroupName="AnnualGrossReceiptsIncidentalFlower" Content="Yes" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsIncidental, Mode=TwoWay}" Margin="5" /> <RadioButton GroupName="AnnualGrossReceiptsIncidentalFlower" Content="No" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsIncidental, Mode=TwoWay, Converter={StaticResource BoolInverseConverter}}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="2" Grid.Column="0" Text="What type of plants or produce are being grown and/or sold? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" Margin="0"> <CheckBox Name="Flowers3" Content="Flowers" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasFlowers, Mode=TwoWay}" Margin="5" /> <CheckBox Name="Fruit3" Content="Fruits" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasFruit, Mode=TwoWay}" Margin="5" /> <CheckBox Name ="Vegetables3" Content="Vegetables" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasVegetables, Mode=TwoWay}" Margin="5" /> </StackPanel> <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" Margin="0"> <CheckBox Name ="Shrubs3" Content="Shrubs" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasShrubs, Mode=TwoWay}" Margin="5" /> <CheckBox Name="Trees3" Content="Trees" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasTrees, Mode=TwoWay}" Margin="5" /> <CheckBox Name="Other3" Content="Other Plants" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasOther, Mode=TwoWay}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="4" Grid.Column="0" Text="What are the annual gross receipts sold on premises? " VerticalAlignment="Center" Margin="5"/> <telerikInput:RadMaskedCurrencyInput Grid.Row="4" Grid.Column="1" Value="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsOnPremises, Mode=TwoWay, Converter={StaticResource StringToDecimalConverter}}" Mask="#9.2" Margin="5" Width="100" HorizontalContentAlignment="Left" EmptyContent="0" SelectionOnFocus="SelectAll" TextMode="PlainText"/> <TextBlock Grid.Row="5" Grid.Column="0" Text="What are the annual gross receipts sold off premises? " VerticalAlignment="Center" Margin="5"/> <telerikInput:RadMaskedCurrencyInput Grid.Row="5" Grid.Column="1" Value="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsOffPremises, Mode=TwoWay, Converter={StaticResource StringToDecimalConverter}}" Mask="#9.2" Margin="5" Width="100" HorizontalContentAlignment="Left" EmptyContent="0" SelectionOnFocus="SelectAll" TextMode="PlainText"/> <TextBlock Grid.Row="6" Grid.Column="0" Text="Is there any processing of products? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" Margin="0"> <RadioButton GroupName="ProductProcessing" Content="Yes" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.ProductProcessing, Mode=TwoWay}" Margin="5" /> <RadioButton GroupName="ProductProcessing" Content="No" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.ProductProcessing, Mode=TwoWay, Converter={StaticResource BoolInverseConverter}}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="7" Grid.Column="0" Text="Is there a retail store on the premises? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal" Margin="0"> <RadioButton GroupName="RetailStoreOnPremises" Content="Yes" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.RetailStoreOnPremises, Mode=TwoWay}" Margin="5" /> <RadioButton GroupName="RetailStoreOnPremises" Content="No" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.RetailStoreOnPremises, Mode=TwoWay, Converter={StaticResource BoolInverseConverter}}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="8" Grid.Column="0" Text="Remarks about the business:" VerticalAlignment="Center" Margin="5"/> <TextBox Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="3" Text="{Binding FlowerGreenhouseNurseryChristmasTree.BusinessRemarks, Mode=TwoWay}" Margin="5" Height="25" Width="600" MaxLength="550" HorizontalAlignment="Left"/> </Grid> </ContentControl> </telerik:RadExpander.Content> <telerik:RadExpander x:Name="ChristmasTreesProducts" ExpandDirection="Down" VerticalAlignment="Top" Margin="0" > <telerik:RadExpander.Header> <TextBlock Text=" Christmas Trees Products" /> </telerik:RadExpander.Header> <telerik:RadExpander.Content> <ContentControl Background="Transparent" HorizontalContentAlignment="Stretch" IsEnabled="{Binding IsSDI_PropertyOptionMExpandedOperational, Mode=TwoWay}"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> <RowDefinition/> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Grid.Column="0" Text="Are the annual gross receipts for the flower, greenhouse, nursery, Christmas Tree" VerticalAlignment="Center" Margin="5" /> <TextBlock Grid.Row="1" Grid.Column="0" Text=" business incidental to the annual gross receipts for the farming operation? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal" Margin="0"> <RadioButton GroupName="AnnualGrossReceiptsIncidentalFlower" Content="Yes" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsIncidental, Mode=TwoWay}" Margin="5" /> <RadioButton GroupName="AnnualGrossReceiptsIncidentalFlower" Content="No" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsIncidental, Mode=TwoWay, Converter={StaticResource BoolInverseConverter}}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="2" Grid.Column="0" Text="What type of plants or produce are being grown and/or sold? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="2" Grid.Column="1" Orientation="Horizontal" Margin="0"> <CheckBox Name="Flowers3" Content="Flowers" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasFlowers, Mode=TwoWay}" Margin="5" /> <CheckBox Name="Fruit3" Content="Fruits" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasFruit, Mode=TwoWay}" Margin="5" /> <CheckBox Name ="Vegetables3" Content="Vegetables" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasVegetables, Mode=TwoWay}" Margin="5" /> </StackPanel> <StackPanel Grid.Row="3" Grid.Column="1" Orientation="Horizontal" Margin="0"> <CheckBox Name ="Shrubs3" Content="Shrubs" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasShrubs, Mode=TwoWay}" Margin="5" /> <CheckBox Name="Trees3" Content="Trees" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasTrees, Mode=TwoWay}" Margin="5" /> <CheckBox Name="Other3" Content="Other Plants" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.HasOther, Mode=TwoWay}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="4" Grid.Column="0" Text="What are the annual gross receipts sold on premises? " VerticalAlignment="Center" Margin="5"/> <telerikInput:RadMaskedCurrencyInput Grid.Row="4" Grid.Column="1" Value="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsOnPremises, Mode=TwoWay, Converter={StaticResource StringToDecimalConverter}}" Mask="#9.2" Margin="5" Width="100" HorizontalContentAlignment="Left" EmptyContent="0" SelectionOnFocus="SelectAll" TextMode="PlainText"/> <TextBlock Grid.Row="5" Grid.Column="0" Text="What are the annual gross receipts sold off premises? " VerticalAlignment="Center" Margin="5"/> <telerikInput:RadMaskedCurrencyInput Grid.Row="5" Grid.Column="1" Value="{Binding FlowerGreenhouseNurseryChristmasTree.AnnualGrossReceiptsOffPremises, Mode=TwoWay, Converter={StaticResource StringToDecimalConverter}}" Mask="#9.2" Margin="5" Width="100" HorizontalContentAlignment="Left" EmptyContent="0" SelectionOnFocus="SelectAll" TextMode="PlainText"/> <TextBlock Grid.Row="6" Grid.Column="0" Text="Is there any processing of products? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="6" Grid.Column="1" Orientation="Horizontal" Margin="0"> <RadioButton GroupName="ProductProcessing" Content="Yes" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.ProductProcessing, Mode=TwoWay}" Margin="5" /> <RadioButton GroupName="ProductProcessing" Content="No" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.ProductProcessing, Mode=TwoWay, Converter={StaticResource BoolInverseConverter}}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="7" Grid.Column="0" Text="Is there a retail store on the premises? " VerticalAlignment="Center" Margin="5" /> <StackPanel Grid.Row="7" Grid.Column="1" Orientation="Horizontal" Margin="0"> <RadioButton GroupName="RetailStoreOnPremises" Content="Yes" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.RetailStoreOnPremises, Mode=TwoWay}" Margin="5" /> <RadioButton GroupName="RetailStoreOnPremises" Content="No" IsChecked="{Binding FlowerGreenhouseNurseryChristmasTree.RetailStoreOnPremises, Mode=TwoWay, Converter={StaticResource BoolInverseConverter}}" Margin="5" /> </StackPanel> <TextBlock Grid.Row="8" Grid.Column="0" Text="Remarks about the business:" VerticalAlignment="Center" Margin="5"/> <TextBox Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="3" Text="{Binding FlowerGreenhouseNurseryChristmasTree.BusinessRemarks, Mode=TwoWay}" Margin="5" Height="25" Width="600" MaxLength="550" HorizontalAlignment="Left"/> </Grid> </ContentControl> </telerik:RadExpander.Content> </telerik:RadExpander> </telerik:RadExpander> </Border>