If you would like to set custom size for BalloonTip control follow these steps:

Handle BalloonDisplaying event

Cast sender to BalloonTip type and get hold of BalloonControl

Set the Size of the BalloonControl to desired size

Sample attached below shows how to do that. It automatically calculates size based on the text for the balloon. Default behavior is to calculate size based on the caption text of the balloon.


private void BalloonTip1_BalloonDisplaying(object sender, System.EventArgs e)
    DevComponents.DotNetBar.Balloon b = ((DevComponents.DotNetBar.BalloonTip)sender).BalloonControl;
    Graphics g = default(Graphics);
    int horizontalPadding = 8;
    int verticalPadding = 8;
    g = b.CreateGraphics();
        SizeF ts = g.MeasureString(b.Text, b.Font);
        b.Size = new Size(ts.Width + horizontalPadding, ts.Height + b.TipLength + verticalPadding);


Private Sub BalloonTip1_BalloonDisplaying(ByVal sender As Object, ByVal e As System.EventArgs) Handles BalloonTip1.BalloonDisplaying
    Dim b As DevComponents.DotNetBar.Balloon = CType(sender, DevComponents.DotNetBar.BalloonTip).BalloonControl
    Dim g As Graphics
    Dim horizontalPadding As Int32 = 8
    Dim verticalPadding As Int32 = 8
    g = b.CreateGraphics()
        Dim ts As SizeF = g.MeasureString(b.Text, b.Font)
        b.Size = New Size(ts.Width + horizontalPadding, ts.Height + b.TipLength + verticalPadding)
    End Try
End Sub

Related posts:

  1. How to show custom Tooltip for Schedule Appointments
  2. How to change global text rendering properties
  3. How to scroll SideBar using MouseWheel
  4. How to to change top-most behavior of floating bars
  5. How to create custom colors for RibbonTabItem and RibbonTabItemGroup objects