Define Anchoring and Docking in .NET.- Anchoring treats the component as having the absolute size and adjusts its location relative to the parent form. - Docking treats the component location as absolute and disregards the component size. So if a status bar must always be at the bottom no matter what, use docking. - If a button should be on the top right, but change its position with the form being resized, use anchoring.
|