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
その他の技術情報
デザインサポート拡張



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

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

   

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



ParentControlDesigner.CreateToolCore メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS