I'm really confused why some of my text fields and buttons are disabled, can someone please help me fix this problem? Thank you !!
XAML CODE
<Grid> <TabControl> <TabItem Name="tabHome"> <TabItem.Header> <Label Content="Home" MouseLeftButtonDown="tabHome_Click"/> </TabItem.Header> <Grid> <Button Content="Parse" Height="23" x:Name="btn_parse" Width="75" Click="buttonParse_Click" Margin="180,10,180,176"/> <TextBox IsReadOnly="True" x:Name="txtbox_filepath" Height="25" Width="135" Margin="151,52,150,132" /> <Button Content="Reset" Height="23" x:Name="btn_reset" Width="75" Margin="180,122,180,64" Click="buttonReset_Click"/> </Grid> </TabItem> <TabItem Name="tabConfig"> <TabItem.Header> <Label Content="Configuration" MouseLeftButtonDown="tabConfig_Click"/> </TabItem.Header> <ScrollViewer> <StackPanel Name="panelConfig"> </StackPanel> </ScrollViewer> </TabItem> <Grid>
Screenshot

As you can see, the button and text box are cropped at the corners.
Thanks for the help I appreciate.
source share