Home > Control, WindowsForm > RichPanel

RichPanel

You can check my new expander (with a header and content controls) here


richpaneldemo

While developping WinForm applications, I encouter the need to have a more elaborated panel than the simple Panel provided by the .NET framework. So I create a RichPanel.

richpanel0

Supported features

The RichPanel supports:

  • Panel background color: Transparent, solid and gradient fill
  • Gradient style: Horizontal, Vertical, Forward Diagonal and BackwardDiagonal
  • Shadow : Color and thickness (can specifiy not to draw a shadow)
  • Border : Color and width (can specifiy not to draw a border)
  • Rounded corner: Top, Bottom, Both, None. Also can specify the corner radius
  • Header text : Text, Color, Font, Justification(left, center, right)
  • Header back color: (could be transparent or solid)
  • Header icon: The icon and the justification (left, center, right)
  • Header separation line: Position(None, Bottom, Center), Color, Width

How to use the RichPanel

The RichPanel is a control that derive from Panel, so it’s a Panel, and after it has been compiled, it is added directly to the Toolbox. Use can be used it, simply be dragging it from the Toolbox to a form.

RichPanel screenshots

Here are some example of the supported features:

richpanel1

richpanel2

richpanel3

Features to be added in the future

I plan to add somes features to this control.

  • Add a expander (collapse and expand)
  • Provide support for scrolling>

    Source code

  • Categories: Control, WindowsForm
    1. No comments yet.
    1. No trackbacks yet.

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Connecting to %s

    Follow

    Get every new post delivered to your Inbox.