GrapeCity.Win.MultiRow Namespace : ButtonCell Class |
<ValueTypeEditorAttribute(TypeName="GrapeCity.Win.MultiRow.Design.CellMultiTypeValueEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9", AavailableForNullValue=False)> <ToolboxItemFilterAttribute(FilterString="GrapeCity.Win.MultiRow.Template7", FilterType=ToolboxItemFilterType.Custom Or _ ToolboxItemFilterType.Prevent Or _ ToolboxItemFilterType.Require)> <ToolboxBitmapAttribute()> <SRDescriptionAttribute("Displays a button-like cell.")> <DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="GrapeCity.Win.MultiRow.Design.ButtonCellDesigner,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")> Public Class ButtonCell Inherits ButtonCellBase
Dim instance As ButtonCell
[ValueTypeEditor(TypeName="GrapeCity.Win.MultiRow.Design.CellMultiTypeValueEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9", AavailableForNullValue=false)] [ToolboxItemFilter(FilterString="GrapeCity.Win.MultiRow.Template7", FilterType=ToolboxItemFilterType.Custom | ToolboxItemFilterType.Prevent | ToolboxItemFilterType.Require)] [ToolboxBitmap()] [SRDescription("Displays a button-like cell.")] [Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="GrapeCity.Win.MultiRow.Design.ButtonCellDesigner,GrapeCity.Win.MultiRow.Design, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")] public class ButtonCell : ButtonCellBase
The ButtonCell class is a special type of Cell used to display a button control. Typically, the Cell.ReadOnly property of a ButtonCell is set to true to indicate that the user cannot edit the cell contents. If you change the ButtonCell's Cell.ReadOnly property value to false, the ButtonCell's value can be changed by pasting a value (by pressing Ctrl + V).
Notes to Inheritors:
When you derive from ButtonCell and add new properties to the derived class, be sure to override the Cell.Clone method to copy the new properties during cloning operations. You should also call the base class's Clone method so that the properties of the base class are copied to the new cell.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
GrapeCity.Win.MultiRow.Cell
GrapeCity.Win.MultiRow.ButtonCellBase
GrapeCity.Win.MultiRow.ButtonCell
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