FlexGrid for WinForms
ShowButtons Property (C1FlexGridBase)



Gets or sets when to display combo buttons in cells.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets when to display combo buttons in cells.")>
<DefaultValueAttribute()>
<CategoryAttribute("Appearance")>
Public Property ShowButtons As ShowButtonsEnum
'Usage
 
Dim instance As C1FlexGridBase
Dim value As ShowButtonsEnum
 
instance.ShowButtons = value
 
value = instance.ShowButtons
[C1Description("Gets or sets when to display combo buttons in cells.")]
[DefaultValue()]
[Category("Appearance")]
public ShowButtonsEnum ShowButtons {get; set;}
[C1Description("Gets or sets when to display combo buttons in cells.")]
[DefaultValue()]
[Category("Appearance")]
public:
property ShowButtonsEnum ShowButtons {
   ShowButtonsEnum get();
   void set (    ShowButtonsEnum value);
}
Remarks

By default, the grid will show editing buttons in cells only when they have the focus. This is the same behavior used by the System.Windows.Forms.PropertyGrid control.

This property affects only rendering of cells and do not affect appearance of editor.

If you set ShowButtons to ShowButtonsEnum.Always, the grid will display buttons on any cells that have associated lists, even if they don't have the focus.

For details on how to associate lists with cells, see the ComboList, RowCol.ComboList, and RowCol.DataMap properties.

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

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback