GrapeCity SPREAD for Windows Forms 12.0J
InputBoxInfo コンストラクタ(Boolean,Size,Color,Color,CharBoxStyle,Padding,Padding,CharBoxBorderInfo,Font,ContentAlignment)


コントロールに割り当てられたフォントが変更されたときにコントロールの高さが自動的に調整されるかどうかを示すbool値。
入力ボックスのサイズを示すSystem.Drawing.Size
背景色を示すSystem.Drawing.Color
前景色を示すSystem.Drawing.Color
入力ボックスのスタイルを示すCharBoxStyle
余白を示すSystem.Windows.Forms.Padding
パディングを示すSystem.Windows.Forms.Padding
入力ボックスの境界線を示すCharBoxBorderInfo
入力ボックスのテキストのフォントを示すSystem.Drawing.Font
入力ボックスの内容の配置を示すSystem.Drawing.ContentAlignment値。
InputBoxInfoの新しいインスタンスを初期化します。
構文
'Declaration
 
Public Function New( _
   ByVal autoSize As Boolean, _
   ByVal size As Size, _
   ByVal backColor As Color, _
   ByVal foreColor As Color, _
   ByVal style As CharBoxStyle, _
   ByVal margin As Padding, _
   ByVal padding As Padding, _
   ByVal border As CharBoxBorderInfo, _
   ByVal font As Font, _
   ByVal contentAlignment As ContentAlignment _
)
'使用法
 
Dim autoSize As Boolean
Dim size As Size
Dim backColor As Color
Dim foreColor As Color
Dim style As CharBoxStyle
Dim margin As Padding
Dim padding As Padding
Dim border As CharBoxBorderInfo
Dim font As Font
Dim contentAlignment As ContentAlignment
 
Dim instance As New InputBoxInfo(autoSize, size, backColor, foreColor, style, margin, padding, border, font, contentAlignment)

パラメータ

autoSize
コントロールに割り当てられたフォントが変更されたときにコントロールの高さが自動的に調整されるかどうかを示すbool値。
size
入力ボックスのサイズを示すSystem.Drawing.Size
backColor
背景色を示すSystem.Drawing.Color
foreColor
前景色を示すSystem.Drawing.Color
style
入力ボックスのスタイルを示すCharBoxStyle
margin
余白を示すSystem.Windows.Forms.Padding
padding
パディングを示すSystem.Windows.Forms.Padding
border
入力ボックスの境界線を示すCharBoxBorderInfo
font
入力ボックスのテキストのフォントを示すSystem.Drawing.Font
contentAlignment
入力ボックスの内容の配置を示すSystem.Drawing.ContentAlignment値。
参照

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

 

 


Copyright © 2004 GrapeCity inc.