Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个停靠在 Windows 窗体 TabControl 中的按钮。我希望它停靠在右下角,同时保持我定义的大小。默认停靠样式为左、右、上、下或填充。
如何将按钮设置为自定义大小,同时保持停靠在右下角?
您需要查看AnchorProperty 而不是Dock.
Anchor
Dock