ToolStripItem.TextImageRelation プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ToolStripItem.TextImageRelation プロパティの意味・解説 

ToolStripItem.TextImageRelation プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

ToolStripItem のテキストイメージ互いに相対的な位置取得または設定します

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

<LocalizableAttribute(True)> _
Public Property TextImageRelation As
 TextImageRelation
Dim instance As ToolStripItem
Dim value As TextImageRelation

value = instance.TextImageRelation

instance.TextImageRelation = value
[LocalizableAttribute(true)] 
public TextImageRelation TextImageRelation { get;
 set; }
[LocalizableAttribute(true)] 
public:
property TextImageRelation TextImageRelation {
    TextImageRelation get ();
    void set (TextImageRelation value);
}
/** @property */
public TextImageRelation get_TextImageRelation ()

/** @property */
public void set_TextImageRelation (TextImageRelation
 value)
public function get TextImageRelation
 () : TextImageRelation

public function set TextImageRelation
 (value : TextImageRelation)

プロパティ
TextImageRelation 値の 1 つ既定値は ImageBeforeText です。

解説解説

ToolStripItem におけるテキストイメージ配置方法取得または設定するには、TextImageRelation プロパティ使用します

使用例使用例

ToolStripItem対しTextImageRelation プロパティなど、共通のプロパティ設定するための構文次のコード例示します

' 
toolStripStatusLabel1.BorderSides = CType(System.Windows.Forms.ToolStripStatusLabelBorderSides.Left
 Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top
 Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom, System.Windows.Forms.ToolStripStatusLabelBorderSides)
toolStripStatusLabel1.BorderStyle = System.Windows.Forms.Border3DStyle.Raised
toolStripStatusLabel1.IsLink = True
toolStripStatusLabel1.Name = "toolStripStatusLabel1"
toolStripStatusLabel1.Size = New System.Drawing.Size(246, 20)
toolStripStatusLabel1.Spring = True
toolStripStatusLabel1.Text = "toolStripStatusLabel1"
toolStripStatusLabel1.Alignment = ToolStripItemAlignment.Left
// 
toolStripStatusLabel1.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left
 | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
            | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
            | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
toolStripStatusLabel1.BorderStyle = System.Windows.Forms.Border3DStyle.Raised;
toolStripStatusLabel1.IsLink = true;
toolStripStatusLabel1.Name = "toolStripStatusLabel1";
toolStripStatusLabel1.Size = new System.Drawing.Size(246, 20);
toolStripStatusLabel1.Spring = true;
toolStripStatusLabel1.Text = "toolStripStatusLabel1";
toolStripStatusLabel1.Alignment = ToolStripItemAlignment.Left;
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

ToolStripItem.TextImageRelation プロパティのお隣キーワード
検索ランキング

   

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



ToolStripItem.TextImageRelation プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS