Visual Basic (Declaration) | |
---|---|
<DescriptionAttribute("The type of button contained within the column.")> <CategoryAttribute("Appearance")> <DefaultValueAttribute()> Public Overridable Property ButtonType As LiveButtonColumnType |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LiveButtonColumn Dim value As LiveButtonColumnType instance.ButtonType = value value = instance.ButtonType |
C# | |
---|---|
[DescriptionAttribute("The type of button contained within the column.")] [CategoryAttribute("Appearance")] [DefaultValueAttribute()] public virtual LiveButtonColumnType ButtonType {get; set;} |
C++/CLI | |
---|---|
[DescriptionAttribute("The type of button contained within the column.")] [CategoryAttribute("Appearance")] [DefaultValueAttribute()] public: virtual property LiveButtonColumnType ButtonType { LiveButtonColumnType get(); void set ( LiveButtonColumnType value); } |
Property Value
One of the PowerWEB controls.LiveButtonColumnType values. The default value is LinkButton.Exception | Description |
---|---|
System.ArgumentException | The specified column type is not one of the PowerWEB controls.LiveButtonColumnType values. |
Use this property to specify whether the buttons in the column are displayed as link, image or push buttons.
Clicking on the command buttons in the column raises the LiveDataGrid.ItemCommand event.
You can programmatically control the action performed when the command button is clicked by providing an event handler for the LiveDataGrid.ItemCommand event.
Target Platforms: Microsoft .NET Framework 2.0