Vcl.CheckLst.TCheckListBox.Checked
Delphi
property Checked[Index: Integer]: Boolean read GetChecked write SetChecked;
C++
__property bool Checked[int Index] = {read=GetChecked, write=SetChecked};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | public | Vcl.CheckLst.pas Vcl.CheckLst.hpp |
Vcl.CheckLst | TCheckListBox |
説明
どの項目にチェックマークが付けられているかを示します。
項目のチェックボックスにチェックマークが表示されている場合,Items 配列の各要素の Checked プロパティは true になります。Checked は State プロパティの cbChecked の状態と対応します。つまり,State = cbChecked ならば Checked プロパティは true になり,State = cbUnchecked または State = cbGrayed ならば Checked プロパティは false になります。
メモ: ItemEnabled プロパティを使って無効にした項目でも,cbChecked の状態および true の Checked プロパティを持っている場合があります。