ערוך

שתף באמצעות


DataGridAutoGeneratingColumnEventArgs.Cancel Property

Definition

Gets or sets a value that indicates whether the event should be canceled.

public:
 property bool Cancel { bool get(); void set(bool value); };
public bool Cancel { get; set; }
member this.Cancel : bool with get, set
Public Property Cancel As Boolean

Property Value

true if the event should be canceled; otherwise, false. The default is false.

Remarks

Setting the Cancel property to true stops the column from being generated.

Applies to