Easily enrich borderless Windows Forms with docking and resizing capabilities as found in standard Windows Forms.

It allows the end user to drag borderless forms to the left, right, top-left, top-right, bottom-left, bottom-right and full-screen, this component will greatly assist in improving end-user experiences when delivering applications with customized forms.

Custom properties

  • AllowFormDragging - This property gets or sets a value indicating whether the parent form will be draggable
  • AllowFormResizing - This property allows you to gets or set a value indicating whether the parent form will be resizable when borderless
  • AllowOpacityChangesWhileDragging - This property allows you to gets or set a value indicating whether the parent form’s opacity or transparency will be changed whenever it’s being dragged on screen
  • DockingIndicatorsColor - This property allows you to get or set the color of the docking indicators
  • DockingIndicatorsOpacity - This property allows you to gets or set the opacity or transparency of the docking indicators 
  • FormDraggingOpacity - This property gets or sets the opacity or transparency of the parent form when dragging 
  • ShowCursorChanges - This property gets or sets a value indicating whether cursor-changes will be provided when about to dock the parent form
  • ShowDockingIndicators - This property gets or sets a value indicating whether the docking indicators will be previewed before the parent form is docked

Dock options properties

DockingOptions - This property gets or sets the docking options to be used in the parent form. The list of available docking options are:

  • DockAll -  This property allows docking of the parent form in any or all of the supported screen areas
  • DockBottomLeft - This property allows docking of the parent form at the bottom-left screen area
  • DockBottomRight - This property allows docking of the parent form at the bottom-right screen area
  • DockFullScreen - This property allows docking of the parent form to fill the entire screen area
  • DockLeft - This property allows docking of the parent form at the left screen area
  • DockRight - This property allows docking of the parent form at the right screen area
  • DockTopLeft - This property allows docking of the parent form at the top-left screen area
  • DockTopRight - This property allows docking of the parent form at the top-right screen area

Title bar options

TitleBarOptions - This property gets or sets the list of options for selecting and managing any control that is set as the parent form’s Title Bar.

The list of available Title Bar options are:

  • TitleBarControl - This property gets or sets the control to be used as the parent form’s Title Bar
  • DoubleClickToExpandWindow - This property gets or sets a value indicating whether the Title Bar control will expand the parent form once a user double-clicks on it.
  • UseBackColorOnDockingIndicators - This property gets or sets a value indicating whether the docking indicators will inherit the Title Bar’s background color (BackColor). When this is set to true, whenever the Title Bar control’s BackColor property changes, the DockingIndicatorsColor property will automatically change
  • AllowFormDragging - This property gets or sets a value indicating whether the Title Bar control will be allowed to drag the parent form at runtime

Custom events

  • FormDragging - Occurs whenever the parent form is being dragged. You can make use of the FormDraggingEventArgs when handling this event
  • DockChanged - Occurs whenever the parent form’s dock position has been changed.You can make use of the DockChangedEventArgs when handling this event

That's it!

We hope Bunifu Form Dock will help improve user experience in your design. 

Should you have feedback or suggestions please send us via chat on the bottom right corner of the screen. 

Did this answer your question?