System.Windows.Forms.DockStyle Enumeration
Information   Base Types   Related Resources

Specifies the position and manner in which a control is docked.

  • Namespace: System.Windows.Forms
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: System.Windows.Forms.dll

  • System.Enum
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (10)Discussions (241)MembersRotorChanges
    Articles

    Page: 1
    A Docking Control That Can Be Dragged And Resized by the User
    The Code Project
    One of the first features of C# that took my interest was the ability to Dock a Control onto the edge of a Form. Now I could attach a Control (or more likely a composite control by deriving from UserControl) onto a Form edge and quickly construct a useful looking application. But there is one crucial factor missing from this scenario. The user has no discretion over the size or positioning of this docked control. I want the user to be able to drag the control to a different edge and be able to resize the control so that they can customise the application area to suit their own preferences.
    An XML based dynamic runtime GUI generator
    The Code Project
    Generate controls, set property values, and wire up event handlers at runtime from an XML definition.
    Designing Resizable Windows Forms in Visual Studio .NET
    The Code Project
    Designing resizable forms in managed VS7 Windows applications is very simple - we don't need a layout manager, just use
    Dockable Control In C#
    C# Help
    edge and quickly construct a useful looking application. But there is one crucial factor missing from this scenario. The user has no discretion over the size or positioning of this docked control. I want the user to be able to drag the control to a different edge and be able to resize the control so that they can customise the application area to suit their own preferences.
    Docking Control
    C# Corner
    One of the first features of C# that took my interest was the ability to Dock a Control onto the edge of a Form. Now I could attach a Control (or more likely a composite control by deriving from UserControl) onto a Form edge and quickly construct a useful looking application. But there is one crucial factor missing from this scenario. The user has no discretion over the size or positioning of this docked control. I want the user to be able to drag the control to a different edge and be able to resize the control so that they can customise the application area to suit their own preferences.
    Printing the .Net TreeView Control
    The Code Project
    A class to handle printing a .Net Treeview control.
    Spitters
    http://www.reflectionit.nl/
    I used to program in Visual Basic 6.0. It is a great tool but not perfect. It was lacking some crucial controls. A Splitter control was one of them. Microsoft has added it to the .NET framework (thanks) but forgot to make it easy to use. You must place it on a Form, set some properties for it and then also some (Dock) properties of the other two controls. Then you have to set the order of the controls correctly by using 'Bring to Front' or 'Send to Back'.
    Themed Windows XP style Explorer Bar
    The Code Project
    A Windows XP style Explorer Bar that supports Windows XP themes and animated expand/collapse with transparency
    VS.NET like toolbar control
    The Code Project
    Collapsing and expanding panel toolbar
    Working with Anchoring and Docking Properties
    C# Corner
    In this article let’s take an expedition through travel around how Anchoring, Docking Properties of Controls can be used in the Windows Forms.
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com