TableLayoutStyleCollection.Item[Int32] Propriété

Définition

Obtient ou définit TableLayoutStyle à l’index spécifié.

public:
 property System::Windows::Forms::TableLayoutStyle ^ default[int] { System::Windows::Forms::TableLayoutStyle ^ get(int index); void set(int index, System::Windows::Forms::TableLayoutStyle ^ value); };
public System.Windows.Forms.TableLayoutStyle this[int index] { get; set; }
member this.Item(int) : System.Windows.Forms.TableLayoutStyle with get, set
Default Public Property Item(index As Integer) As TableLayoutStyle

Paramètres

index
Int32

Index de base zéro de l’objet TableLayoutStyle à obtenir ou définir.

Valeur de propriété

A TableLayoutStyle à l’index spécifié.

Exceptions

La valeur de propriété est déjà affectée à un autre propriétaire. Vous devez d’abord le supprimer de son emplacement actuel ou le cloner.

Remarques

Un seul des types dérivés TableLayoutStyle , ColumnStyle ou RowStyle, peut être stocké dans un TableLayoutStyleCollection.

Une instance d’un style ne peut être associée qu’à un seul conteneur.

S’applique à

Voir aussi