Hey there,
I'm working on an app that has one tabControl component, and which has a bunch of tabs associated with it. I noticed that in the properties for buttons you have the option to control FlatAppearance. However for the tabControl, there is no option to display the tabs flat (like that you see in Excel and Visual Studio). Its a nice look imho, and I'd like to implement it into my app.
I was poking around the MSDN library to come up with something that could control the look of the tabs I found the VisualStyleRenderer.DrawEdge Method public Rectangle DrawEdge (
IDeviceContext dc,
Rectangle bounds,
Edges edges,
EdgeStyle style,
EdgeEffects effects
)
Does anyone have any experience with this method, or have you implemented flat style tabs in your app Any advice on how I should proceed would be great.
thanks.
Windows Forms28
|