Hi everyone, please help me in my part of code:) I create an expander in which I have a couple of groupboxes with textboxes and buttons inside. When I run my application and I want to select concrete textbox something goes wrong and my textboxes or button are not enabled . Of course I don't know how? :P
<Expander Name="NoweKoloExpander" Margin="90,0,0,0" Grid.Row="0" Grid.Column="0" Header="Nowe koło/łuk" Expanded="NoweKoloExpander_Expanded">
<GroupBox Header="Wprowadź informacje o kole/łuku" Height="200" HorizontalAlignment="Left"
VerticalAlignment="Top">
<Grid Grid.Column="0" Grid.Row="0">
<GroupBox VerticalAlignment="Top" Header="Rodzaj elementu" Height="70" Width="185" HorizontalAlignment="Left">
<StackPanel>
<TextBlock Margin="5,15,0,0">
<RadioButton Content="Koło" Margin="5,0,0,0"></RadioButton>
<RadioButton Content="Łuk" Margin="30,0,0,0"></RadioButton>
</TextBlock>
</StackPanel>
</GroupBox>
<GroupBox VerticalAlignment="Top" Header="Wymiary" Margin="0,72,0,0" Height="70" Width="185"
HorizontalAlignment="Left">
<StackPanel>
<TextBlock>
<Label Content="Promień koła/łuku:"></Label>
<TextBox Width="60"></TextBox>
</TextBlock>
<TextBlock>
<Label Margin="26,0,0,0" Content="Kąt środkowy:"></Label>
<TextBox Width="60"></TextBox>
</TextBlock>
</StackPanel>
</GroupBox>
<GroupBox Header="Wpółrzędne środka" HorizontalAlignment="Left" Margin="187,0,0,0" VerticalAlignment="Top"
Width="120" Height="142" >
<StackPanel>
<TextBlock Margin="5,10,0,0">
<Label Content="X:"></Label>
<TextBox Width="60"></TextBox>
</TextBlock>
<TextBlock Margin="5,10,0,0">
<Label Content="Y:"></Label>
<TextBox Width="60"></TextBox>
</TextBlock>
</StackPanel>
</GroupBox>
<TextBlock >
<Button Content="Zapisz" Margin="95,150,0,0" Height="25" HorizontalAlignment="Right"
Width="100"></Button>
<Button Content="Anuluj" Margin="10,0,0,0" Height="25" HorizontalAlignment="Right" Width="100"></Button>
</TextBlock>
</Grid>
</GroupBox>
</Expander>