ParentControlDesigner.CreateToolCore メソッドとは何? わかりやすく解説 Weblio辞書 (original) (raw)
Protected Overridable Function CreateToolCore ( _ tool As ToolboxItem, _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ hasLocation As Boolean, _ hasSize As Boolean _ ) As IComponent()
Dim tool As ToolboxItem Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer Dim hasLocation As Boolean Dim hasSize As Boolean Dim returnValue As IComponent()
returnValue = Me.CreateToolCore(tool, x, y, width, height, hasLocation, hasSize)
protected virtual IComponent[] CreateToolCore ( ToolboxItem tool, int x, int y, int width, int height, bool hasLocation, bool hasSize )
protected: virtual array<IComponent^>^ CreateToolCore ( ToolboxItem^ tool, int x, int y, int width, int height, bool hasLocation, bool hasSize )
protected IComponent[] CreateToolCore ( ToolboxItem tool, int x, int y, int width, int height, boolean hasLocation, boolean hasSize )
protected function CreateToolCore ( tool : ToolboxItem, x : int, y : int, width : int, height : int, hasLocation : boolean, hasSize : boolean ) : IComponent[]
x
サイズが指定されている場合は、ツールの左端の位置のデザイン時ビュー座標の水平位置。サイズが指定されていない場合は、ツールの中心のデザイン時ビュー座標の水平位置。
y
サイズが指定されている場合は、ツールの上端の位置のデザイン時ビュー座標の垂直位置。サイズが指定されていない場合は、ツールの中心のデザイン時ビュー座標の垂直位置。
ツールの幅。hasSize パラメータが false に設定されている場合、このパラメータは無視されます。
ツールの高さ。hasSize パラメータが false に設定されている場合、このパラメータは無視されます。
hasLocation
コンポーネントの位置が指定されている場合は **true**。コンポーネントが現在選択されているコントロールの中心に配置される場合は **false**。
hasSize
コンポーネントのサイズが指定されている場合は **true**。コンポーネントの既定の高さの値と幅の値が使用される場合は **false**。
関連項目
ParentControlDesigner クラス
ParentControlDesigner メンバ
System.Windows.Forms.Design 名前空間
ControlDesigner クラス
ComponentDesigner
IDesigner
IDesignerFilter
DesignerAttribute
その他の技術情報
デザイン時サポートの拡張