FMX.Calendar.Style.TStyledCalendar.UpdateWeeksDaysItemHeight
Delphi
procedure UpdateWeeksDaysItemHeight;
C++
void __fastcall UpdateWeeksDaysItemHeight();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | FMX.Calendar.Style.pas FMX.Calendar.Style.hpp |
FMX.Calendar.Style | TStyledCalendar |
説明
Days プロパティと Weeks プロパティに格納されている項目の高さを更新します。
UpdateWeeksDaysItemHeight メソッドでは、Days 内の項目の ItemHeight プロパティと、Weeks 内の項目の ItemHeight プロパティを、日のリストがカレンダーの大きさにちょうど収まるように更新します。
項目の高さを更新する必要があるのは Styled
タイプのカレンダーの場合で、Platform
タイプのカレンダーの場合には更新する必要はありません。詳細については、ControlType プロパティの説明を参照してください。