PowerTools CalendarGrid for Windows Forms 1.0J
ImageAlign プロパティ (CalendarImageCellType)

Image 型セルのイメージの配置を取得または設定します。
構文
Public Property ImageAlign As ContentAlignment
public ContentAlignment ImageAlign {get; set;}

プロパティ値

System.Drawing.ContentAlignment 値の 1 つ。既定値は System.Drawing.ContentAlignment.MiddleCenter です。
例外
例外解説
System.ComponentModel.InvalidEnumArgumentException指定された値が System.Drawing.ContentAlignment 値の 1 つではありません。
解説
このプロパティは、ImageLayout プロパティを CalendarImageCellLayout.Normal に設定した場合に有効になります。ImageLayoutCalendarImageCellLayout.Zoom に設定した場合、イメージは常にこのセルの中央に表示されます。
参照

CalendarImageCellType クラス
CalendarImageCellType メンバ

 

 


© 2014 GrapeCity inc. All rights reserved.