how can i get locked property for winforms? [Answered]
i can't find this propert for code. i mean this kind of thing
Form1.Locked = false;
i can't do it.
i googled but i couldn't find any useful result.4 Replies
https://learn.microsoft.com/en-us/dotnet/desktop/winforms/controls/how-to-lock-controls-to-windows-forms?view=netframeworkdesktop-4.8 seems to refer to this
Lock Controls - Windows Forms .NET Framework
Learn how to lock controls once they are positioned correctly, so that you do not inadvertently move or resize them when setting other properties.
this looks like a property that is provided by the VS designer, not the Form object
so you can't set it programmatically
oh it's bad
but anyway i found alternatives
thanks for your help
✅ This post has been marked as answered!