Here are some previews of Bunifu Custom Data Grid:
Simply locate BunifuCustomDataGrid
in Visual Studio's Toolbox and drag it to your Form:
To add Bunifu Custom Data Grid at run time we will use our new Form’s Load event as shown below:
private void Form1_Load(object sender, EventArgs e){var bunifuDataGrid = new Bunifu.Framework.UI.BunifuCustomDataGrid();this.Controls.Add(bunifuDataGrid);}
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim bunifuDataGrid As New Bunifu.Framework.UI.BunifuCustomDataGrid()Controls.Add(bunifuDataGrid)End Sub
There are currently two properties for styling the Data Grid control:
HeaderBgColor: This property allows you to set the Data Grid's header color.
HeaderFgColor: This property allows you to set the header-text's color.
As a quick tip, to create round-edged Bunifu Data Grids, simply add a BunifuEllipse
component to the Form where the Data Grid is on, then go to the Properties window and select the TargetControl as the Bunifu Custom Data Grid you'd want to curve
Below is an example illustrating this:
That's it!
We hope you will enjoy using Bunifu Custom Data Grid control and that it will help you create better user experience for your users.
Should you have feedback or suggestions please send us via chat on the bottom right corner of the screen.