TableLayoutStyleCollection.Item[Int32] Proprietà

Definizione

Ottiene o imposta TableLayoutStyle in corrispondenza dell'indice specificato.

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

Parametri

index
Int32

Indice in base zero dell'oggetto TableLayoutStyle da ottenere o impostare.

Valore della proprietà

Oggetto TableLayoutStyle in corrispondenza dell'indice specificato.

Eccezioni

Il valore della proprietà è già assegnato a un altro proprietario. Rimuoverlo prima dalla posizione corrente oppure duplicarlo.

Commenti

Solo uno dei tipi derivati o RowStyle, ColumnStyle può essere archiviato TableLayoutStyle in un TableLayoutStyleCollectionoggetto .

Un'istanza di uno stile può essere associata solo a un singolo contenitore.

Si applica a

Vedi anche