Bunifu Framework Docs
HomePricingFAQsMy Account
  • Introduction
  • Getting started
    • Requirements
    • Installation
    • Installing for .Net 5 & Above
    • Licensing
      • Managing your licenses
      • Bunifu Licensing CLI
      • Bunifu Device Remover (Deprecated)
  • BUNIFU UI
    • Controls
      • Bunifu Button
      • Bunifu Button (variant)
      • Bunifu Cards
      • Bunifu CheckBox
      • Bunifu Circle Progress
      • Bunifu Datagrid View
      • Bunifu Date Picker
      • Bunifu Drop Down
      • Bunifu Flat Button
      • Bunifu Form Caption Button
      • Bunifu Form Control Box
      • Bunifu Form Resize Icon
      • Bunifu Gradient Panel
      • Bunifu Icon Button
      • Bunifu Image Button (New)
      • Bunifu Image Button (Old)
      • Bunifu IOS Switch (1.5.3)
      • Bunifu Label
      • Bunifu Loader
      • Bunifu Picture Box
      • Bunifu Pages
      • Bunifu Panel
      • Bunifu Progress Bar
      • Bunifu Radial Gauge
      • Bunifu Radio Button
      • Bunifu Rating
      • Bunifu Range
      • Bunifu Separator
      • Bunifu Sliders
      • Bunifu Shadow Panel
      • Bunifu Shapes
      • Bunifu Switch (1.5.3)
      • Bunifu ScrollBars
      • Bunifu Toggle Switch
      • Bunifu Toggle Switch (variant)
      • Bunifu Tile Button
      • Bunifu Thin Button (1.5.3)
      • Bunifu ToolTip
      • Bunifu Textbox
      • Bunifu User Control
    • Components
      • Bunifu Color Transition
      • Bunifu Drag
      • Bunifu Elipse [Deprecated]
      • Bunifu Form Dock
      • Bunifu Form Drag
      • Bunifu Form Resizer
      • Bunifu Snackbar
      • Bunifu Transition
  • BUNIFU CHARTS
    • Introduction
      • Quick Tips
    • Chart Components
      • Bunifu Bar Chart
      • Bunifu Bubble Chart
      • Bunifu Canvas Control
      • Bunifu Doughnut Chart
      • Bunifu Horizontal bar Chart
      • Bunifu Line Chart
      • Bunifu Pie chart
      • Bunifu Polar Chart
      • Bunifu Radar Chart
  • BUNIFU DATAVIZ [Deprecated]
    • Basic Charts [Deprecated]
      • Step Line Chart [Deprecated]
      • Step Area Chart [Deprecated]
      • Spline Chart [Deprecated]
      • Pie Chart [Deprecated]
      • Line Chart [Deprecated]
      • Doughnut Chart [Deprecated]
      • Bar Chart [Deprecated]
      • Area Chart [Deprecated]
      • Column Chart [Deprecated]
    • Advanced Charts [Deprecated]
      • Stacked Column 100 Chart [Deprecated]
      • Stacked Column Chart [Deprecated]
      • Stacked Bar Chart 100 [Deprecated]
      • Stacked Bar Chart [Deprecated]
      • Stacked Area Chart 100 [Deprecated]
      • Stacked Area Chart [Deprecated]
      • Scatter Chart [Deprecated]
      • Range Spline Area Chart [Deprecated]
      • Range Column Chart [Deprecated]
      • Range Bar Chart [Deprecated]
      • Range Area Chart [Deprecated]
      • OHLC Chart [Deprecated]
      • Candle Stick Chart [Deprecated]
      • Bubble Chart [Deprecated]
Powered by GitBook
On this page
  • Properties
  • AllowFormDragging
  • AllowFormResizing
  • AllowOpacityChangesWhileDragging
  • DockingIndicatorsColor
  • DockingIndicatorsOpacity
  • FormDraggingOpacity
  • ShowCursorChanges
  • ShowDockingIndicators
  • DockingOptions
  • TitleBarOptions
  • Events
  • FormDragging
  • DockChanged
  • SubscribeControlToDragEvents
  • SubscribeControlsToDragEvents
  • UnsubscribeControlToDragEvents
  • UnsubscribeControlsToDragEvents

Was this helpful?

  1. BUNIFU UI
  2. Components

Bunifu Form Dock

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

PreviousBunifu Elipse [Deprecated]NextBunifu Form Drag

Last updated 5 years ago

Was this helpful?

The Bunifu Form Dock component allows end-users to resize and even drag borderless forms to any area of the screen; this includes the left, right, top-left, top-right, bottom-left, bottom-right and full-screen areas.

Here are some sample previews:

Two customized borderless forms attached with Bunifu Form Dock showcasing the Docking feature and one previewing the form-transparency feature when dragging.

Two basic borderless forms with a Panel set as the Title Bar and attached to a Bunifu Form Dock component. One showcases the form-transparency feature when dragging while the other previews the docking and resizing features.

Below is another preview displaying the the Docking indicators with a customized color option, that is Khaki.

With this feature-rich component, developers will truly be greatly assisted in improving their end-user experiences when delivering applications with customized forms.

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.

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.

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.

Here's a preview of a borderless form with Bunifu Form Dock at design-time:

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.

SubscribeControlToDragEvents

SubscribeControlToDragEvents(control[Control], isPartOfTitleBar[boolean]): Subscribes any control specified to the drag event operations performed on the parent form.

SubscribeControlsToDragEvents

SubscribeControlsToDragEvents(controls[Control[]], arePartOfTitleBar[boolean]): Subscribes an array of controls specified to the drag event operations performed on the parent form.

UnsubscribeControlToDragEvents

UnsubscribeControlToDragEvents(control[Control], isPartOfTitleBar[boolean]: Unsubscribes any control attached to the drag event operations performed on the parent form.

UnsubscribeControlsToDragEvents

UnsubscribeControlsToDragEvents(controls[Control[]], arePartOfTitleBar[boolean]: Unsubscribes an array of controls attached to the drag event operations performed on the parent form.

That's it!

We hope Bunifu Form Dock will help improve the overall user-experience in your design process.

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