Answer the question
In order to leave comments, you need to log in
The TabControl does not change its size in the constructor, but it does when the click event fires. What is the problem?
Does not change the size in the constructor. What can be wrong?
public partial class PacientForm : Window
{
public PacientForm()
{
InitializeComponent();
tabControl1.Width = this.Width;
}
private void bclick(object sender, RoutedEventArgs e)
{
tabControl1.Width = this.Width;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question