İngilizce dilinde oku

Aracılığıyla paylaş


ButtonColumnType Sabit listesi

Tanım

Nesnenin düğme türünü ButtonColumn belirtir.

C#
public enum ButtonColumnType
Devralma
ButtonColumnType

Alanlar

Name Değer Description
LinkButton 0

Köprü düğmelerinden oluşan bir sütun.

PushButton 1

Basma düğmelerinden oluşan bir sütun.

Örnekler

C#
private void Page_Init(Object sender, EventArgs e)
{

   // Create dynamic column to add to Columns collection.
   ButtonColumn AddColumn = new ButtonColumn();
   AddColumn.HeaderText="Add Item";
   AddColumn.Text="Add";
   AddColumn.CommandName="Add";
   AddColumn.ButtonType = ButtonColumnType.PushButton;

   // Add column to Columns collection.
   ItemsGrid.Columns.AddAt(2, AddColumn);
}

Açıklamalar

Numaralandırma, ButtonColumnType nesnenin düğme stillerini ButtonColumn temsil eder.

Şunlara uygulanır

Ürün Sürümler
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Ayrıca bkz.