MonthCalendar.SetCalendarDimensions メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MonthCalendar.SetCalendarDimensions メソッドの意味・解説 

MonthCalendar.SetCalendarDimensions メソッド

表示する月の列数および行数を設定します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Sub SetCalendarDimensions ( _
    x As Integer, _
    y As Integer _
)
Dim instance As MonthCalendar
Dim x As Integer
Dim y As Integer

instance.SetCalendarDimensions(x, y)
public void SetCalendarDimensions (
    int x,
    int y
)
public:
void SetCalendarDimensions (
    int x, 
    int y
)
public void SetCalendarDimensions (
    int x, 
    int y
)
public function SetCalendarDimensions (
    x : int, 
    y : int
)

パラメータ

x

列の番号。

y

行の番号。

例外例外
例外の種類条件

ArgumentOutOfRangeException

x または y が 1 未満です。

解説解説

表示できる月数の最大値は 12 で、1 暦年に制限されています。x パラメータと y パラメータの積は 12 以下である必要があります。x と y の値の積が 12 を超える場合は、積が 12 以下になるまで、x 値と y 値のうち大きい方の値が繰り返して減らされます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MonthCalendar クラス
MonthCalendar メンバ
System.Windows.Forms 名前空間
CalendarDimensions



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

MonthCalendar.SetCalendarDimensions メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



MonthCalendar.SetCalendarDimensions メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS