# Bunifu User Control

**Bunifu User Control** is one unique control in that it allows developers to build their own User Controls on top of it, using built-in features such as curving the borders or styling the control's surface. You can also easily implement your own custom designs using the .NET [Graphics](https://docs.microsoft.com/en-us/dotnet/framework/winforms/advanced/how-to-create-graphics-objects-for-drawing) API that allows you to draw more shapes and effects.

Here's a sample UI inspiration combining various aspects of the control, including the circular shapes:

![](https://downloads.intercomcdn.com/i/o/108840880/80c6ae51fdc670b70f8e2894/bunifu-user-control-sample-two.png)

And here's a preview of Bunifu User Control in action:

![](https://downloads.intercomcdn.com/i/o/105436759/5ede6fa45b2c991fbf90784c/bunifu-user-control-preview-01.gif)

## **P**roperties

### **`BackColor`:**&#x20;

Applies the control's background color.

### **`BorderColor`:**&#x20;

Applies the control's border color.

### **`BorderRadius`:**&#x20;

Sets the control's border or corner radius.

### **`BorderThickness`:**&#x20;

Sets the control's border thickness.

### **`ShowBorders`:**&#x20;

Allows showing/hiding of the control's borders.

### **`Style`:**&#x20;

Applies either a round or a flat style to the control's surface.

## Events

### **`BackColorChanged`:**&#x20;

Raised whenever the control's background color has changed.

### **`BorderColorChanged`:**&#x20;

Raised whenever the control's border color has changed.&#x20;

### **`BorderRadiusChanged`:**&#x20;

Raised whenever the control's border radius has changed.

### **`BorderThicknessChanged`:**

&#x20;Raised whenever the control's border thickness has changed.

### **`ShowBordersChanged`:**&#x20;

Raised whenever the control's `ShowBorders` properties have changed.

### **`StyleChanged`:**&#x20;

Raised whenever the control's `Style`  property has changed.
