次の方法で共有


ContentControl.DateCalendarType プロパティ

定義

日付選択を表す ContentControl に表示されるカレンダーの種類を取得または設定します。

public:
 property Microsoft::Office::Interop::Word::WdCalendarType DateCalendarType { Microsoft::Office::Interop::Word::WdCalendarType get(); void set(Microsoft::Office::Interop::Word::WdCalendarType value); };
public Microsoft.Office.Interop.Word.WdCalendarType DateCalendarType { get; set; }
member this.DateCalendarType : Microsoft.Office.Interop.Word.WdCalendarType with get, set
Public Property DateCalendarType As WdCalendarType

プロパティ値

コントロールに表示されるカレンダーの種類。 既定値は、オペレーティング システムの現在のロケール設定によって異なります。

例外

プロパティのType値が Microsoft.Office.Interop.Word ではありません。WdContentControlType.wdContentControlDate。

注釈

このプロパティは、 が日付ピッカーを表す場合 ContentControl にのみ使用できます。

既定のカレンダーの種類は、オペレーティング システムのロケール設定によって異なります。 たとえば、ロケール英語 (米国) の既定のカレンダーの種類は ですwdCalendarWestern

適用対象