GrapeCity MultiRow Windows Forms Documentation
FlatAppearance Property (ButtonCellBase)


Gets the appearance when the HeaderCell.FlatStyle property is set to System.Windows.Forms.FlatStyle.Flat.
Syntax
<BrowsableAttribute(True)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Indicates the appearance of the border and the colors used to indicate check state and mouse state when FlatStyle is FlatStyle.Flat.")>
Public ReadOnly Property FlatAppearance As MultiRowFlatButtonAppearance
Dim instance As ButtonCellBase
Dim value As MultiRowFlatButtonAppearance
 
value = instance.FlatAppearance
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[SRCategory("Appearance")]
[SRDescription("Indicates the appearance of the border and the colors used to indicate check state and mouse state when FlatStyle is FlatStyle.Flat.")]
public MultiRowFlatButtonAppearance FlatAppearance {get;}

Property Value

A MultiRowFlatButtonAppearance value that represents the appearance when the FlatStyle property is set to System.Windows.Forms.FlatStyle.Flat.
Remarks
This property has no effect unless the FlatStyle property is set to System.Windows.Forms.FlatStyle.Flat. If the cell is a CheckBoxCell you should set the FlatStyle property to System.Windows.Forms.FlatStyle.Flat, and the CheckBoxCell.Appearance property to System.Windows.Forms.Appearance.Button, for the FlatAppearance property to work.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ButtonCellBase Class
ButtonCellBase Members
FlatStyle Property

 

 


Copyright © GrapeCity, inc. All rights reserved.