GrapeCity SPREAD for Windows Forms 11.0J
DateFromPoint(Int32,Int32) メソッド


ポイントのx座標を示すSystem.Int32値。
ポイントのy座標を示すSystem.Int32値。
指定の座標位置にある日付を取得します。
構文
'Declaration
 
Public Overloads Function DateFromPoint( _
   ByVal x As Integer, _
   ByVal y As Integer _
) As Nullable(Of Date)
'使用法
 
Dim instance As DropDownCalendar
Dim x As Integer
Dim y As Integer
Dim value As Nullable(Of Date)
 
value = instance.DateFromPoint(x, y)
public Nullable<DateTime> DateFromPoint( 
   int x,
   int y
)

パラメータ

x
ポイントのx座標を示すSystem.Int32値。
y
ポイントのy座標を示すSystem.Int32値。

戻り値の型

指定の座標位置にある日付を表すNullable<DateTime>値。
解説
このメソッドは、xパラメーターとyパラメーターによって指定された特定のポイントから日付を取得します。指定されたポイントがDropDownCalendarビューに含まれていない場合は、null 参照 (Visual Basicでは Nothing)値を返します。
参照

DropDownCalendar クラス
DropDownCalendar メンバ
オーバーロード一覧

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.