Class IgxDropDownGroupComponent

<igx-drop-down-item><igx-drop-down> コンテナーの行項目のためのコンテナーです。

階層

Hierarchy (view full)

コンストラクター

プロパティ

アクセサー

コンストラクター

プロパティ

disabled: boolean = false

項目グループが無効かどうかを取得または設定します。

const myDropDownGroup: IgxDropDownGroupComponent = this.dropdownGroup;
// get
...
const groupState: boolean = myDropDownGroup.disabled;
...
//set
...
myDropDownGroup,disabled = false;
...
<igx-drop-down-item-group [label]="'My Items'" [disabled]="true">
<igx-drop-down-item *ngFor="let item of items[index]" [value]="item.value">
{{ item.text }}
</igx-drop-down-item>
</igx-drop-down-item-group>

注: 無効なドロップダウン グループ内のすべての項目が無効として扱われます。

label: string

項目グループのラベルを取得または設定します。

const myDropDownGroup: IgxDropDownGroupComponent = this.dropdownGroup;
// get
...
const myLabel: string = myDropDownGroup.label;
...
// set
...
myDropDownGroup.label = 'My New Label';
...
<igx-drop-down-item-group [label]="'My new Label'">
...
</igx-drop-down-item-group>

アクセサー