I have an application that on the main form (MainForm.cs) it is not honoring the following:
FormElement.TitleBar.MaximizeButton.Enabled =
false
;
FormElement.TitleBar.MaximizeButton.Visibility = ElementVisibility.Collapsed;
It does honor it not being enabled, but hiding altogether is not working.
If I edit the form properties in the Proerties Window, I can see it collapse. Running the application for the first time seems to undo this, but there is no code that explicitly sets its visibility back to ElementVisibility.Visible.
I have other forms with in the app that have it disabled without issue.
Help