FlatStyle

FlatStyle serializable

System. Windows .Forms (system. windows .forms.dll) enum

This enumeration specifies the drawing style for button-like classes, including group boxes, checkboxes, etc.

The Flat , Popup , and Standard styles are fairly self-explanatory. The System style causes the repaint to be handled by the OS rather than the framework. You should set the System style if you wish to support Windows XP Themes on these objects, but bear in mind that you will then lose the framework features such as font and image support.

 public enum  FlatStyle  {  Flat = 0  ,  Popup = 1  ,  Standard = 2  ,  System = 3  } 

Hierarchy

System.Object System.ValueType System.Enum(System.IComparabl, System.IFormattable , System.IConvertible) FlatStyle

Returned By

ButtonBase.FlatStyle , GroupBox.FlatStyle , Label.FlatStyle

Passed To

ButtonBase.FlatStyle , GroupBox.FlatStyle , Label.FlatStyle



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net