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

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

ParentControlDesigner.CreateToolCore メソッド

すべての CreateTool メソッドのコア機能を提供します。

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

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[]

パラメータ

tool

コンポーネントの作成元の ToolboxItem。

x

サイズが指定されている場合は、ツールの左端の位置のデザイン時ビュー座標の水平位置。サイズが指定されていない場合は、ツールの中心のデザイン時ビュー座標の水平位置。

y

サイズが指定されている場合は、ツールの上端の位置のデザイン時ビュー座標の垂直位置。サイズが指定されていない場合は、ツールの中心のデザイン時ビュー座標の垂直位置。

width

ツールの幅。hasSize パラメータが false に設定されている場合、このパラメータは無視されます。

height

ツールの高さ。hasSize パラメータが false に設定されている場合、このパラメータは無視されます。

hasLocation

コンポーネントの位置が指定されている場合は true。コンポーネントが現在選択されているコントロールの中心に配置される場合は false。

hasSize

コンポーネントのサイズが指定されている場合は true。コンポーネントの既定の高さの値と幅の値が使用される場合は false。

戻り値
ツールから作成されたコンポーネントの配列。

解説解説

これは、オーバーライドできる唯一の CreateTool メソッドです。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ParentControlDesigner クラス
ParentControlDesigner メンバ
System.Windows.Forms.Design 名前空間
ControlDesigner クラス
ComponentDesigner
IDesigner
IDesignerFilter
DesignerAttribute
その他の技術情報
デザイン時サポートの拡張


このページでは「.NET Framework クラス ライブラリ リファレンス」からParentControlDesigner.CreateToolCore メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からParentControlDesigner.CreateToolCore メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からParentControlDesigner.CreateToolCore メソッド を検索

英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



ParentControlDesigner.CreateToolCore メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS