Share via


ToolStripDropDownItem Kelas

Definisi

Menyediakan fungsionalitas dasar untuk kontrol yang menampilkan ToolStripDropDown saat ToolStripDropDownButtonkontrol , , ToolStripMenuItematau ToolStripSplitButton diklik.

public ref class ToolStripDropDownItem abstract : System::Windows::Forms::ToolStripItem
public abstract class ToolStripDropDownItem : System.Windows.Forms.ToolStripItem
type ToolStripDropDownItem = class
    inherit ToolStripItem
Public MustInherit Class ToolStripDropDownItem
Inherits ToolStripItem
Warisan
Warisan
Turunan

Contoh

Contoh kode berikut menunjukkan cara menampilkan dan menyembunyikan ToolStripMenuItem kontrol.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace ToolStripDropDownItemCS
{
    public class Form1 : Form
    {
        private ToolStrip toolStrip1;
        private StatusStrip statusStrip1;
        private ToolStripStatusLabel toolStripStatusLabel1;
        private ContextMenuStrip contextMenuStrip1;
        private ToolStripMenuItem menuItem1ToolStripMenuItem;
        private ToolStripMenuItem menuItem2ToolStripMenuItem;
        private ToolStripMenuItem subItemToolStripMenuItem;
        private ToolStripMenuItem subItem2ToolStripMenuItem;
        private Button showButton;
        private Button hideButton;
        private System.ComponentModel.IContainer components = null;

        public Form1()
        {
            InitializeComponent();
            this.InitializeToolStripDropDownItems();
        }

        // This utility method creates and initializes three 
        // ToolStripDropDownItem controls and adds them 
        // to the form's ToolStrip control.
        private void InitializeToolStripDropDownItems()
        {
            ToolStripDropDownButton b = new ToolStripDropDownButton("DropDownButton");
            b.DropDown = this.contextMenuStrip1;
            b.DropDownClosed += new EventHandler(toolStripDropDownItem_DropDownClosed);
            b.DropDownItemClicked += new ToolStripItemClickedEventHandler(toolStripDropDownItem_DropDownItemClicked);
            b.DropDownOpened += new EventHandler(toolStripDropDownItem_DropDownOpened);

            ToolStripMenuItem m = new ToolStripMenuItem("MenuItem");
            m.DropDown = this.contextMenuStrip1;
            m.DropDownClosed += new EventHandler(toolStripDropDownItem_DropDownClosed);
            m.DropDownItemClicked += new ToolStripItemClickedEventHandler(toolStripDropDownItem_DropDownItemClicked);
            m.DropDownOpened += new EventHandler(toolStripDropDownItem_DropDownOpened);

            ToolStripSplitButton sb = new ToolStripSplitButton("SplitButton");
            sb.DropDown = this.contextMenuStrip1;
            sb.DropDownClosed += new EventHandler(toolStripDropDownItem_DropDownClosed);
            sb.DropDownItemClicked += new ToolStripItemClickedEventHandler(toolStripDropDownItem_DropDownItemClicked);
            sb.DropDownOpened += new EventHandler(toolStripDropDownItem_DropDownOpened);

            this.toolStrip1.Items.AddRange(new ToolStripItem[] { b, m, sb });
        }

        // This method handles the DropDownOpened event from a 
        // ToolStripDropDownItem. It displays the value of the 
        // item's Text property in the form's StatusStrip control.
        void toolStripDropDownItem_DropDownOpened(object sender, EventArgs e)
        {
            ToolStripDropDownItem item = sender as ToolStripDropDownItem;

            string msg = String.Format("Item opened: {0}", item.Text);
            this.toolStripStatusLabel1.Text = msg;
        }

        // This method handles the DropDownItemClicked event from a 
        // ToolStripDropDownItem. It displays the value of the clicked
        // item's Text property in the form's StatusStrip control.
        void toolStripDropDownItem_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {
            string msg = String.Format("Item clicked: {0}", e.ClickedItem.Text);
            this.toolStripStatusLabel1.Text = msg;
        }

        // This method handles the DropDownClosed event from a 
        // ToolStripDropDownItem. It displays the value of the 
        // item's Text property in the form's StatusStrip control.
        void toolStripDropDownItem_DropDownClosed(object sender, EventArgs e)
        {
            ToolStripDropDownItem item = sender as ToolStripDropDownItem;

            string msg = String.Format("Item closed: {0}", item.Text);
            this.toolStripStatusLabel1.Text = msg;
        }

        // This method shows the drop-down for the first item
        // in the form's ToolStrip.
        private void showButton_Click(object sender, EventArgs e)
        {
            ToolStripDropDownItem item = this.toolStrip1.Items[0] as ToolStripDropDownItem;

            if (item.HasDropDownItems)
            {
                item.ShowDropDown();
            }
        }

        // This method hides the drop-down for the first item
        // in the form's ToolStrip.
        private void hideButton_Click(object sender, EventArgs e)
        {
            ToolStripDropDownItem item = this.toolStrip1.Items[0] as ToolStripDropDownItem;

            item.HideDropDown();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
            this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.menuItem1ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.menuItem2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.subItemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.subItem2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.showButton = new System.Windows.Forms.Button();
            this.hideButton = new System.Windows.Forms.Button();
            this.statusStrip1.SuspendLayout();
            this.contextMenuStrip1.SuspendLayout();
            this.SuspendLayout();
            // 
            // toolStrip1
            // 
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(292, 25);
            this.toolStrip1.TabIndex = 0;
            this.toolStrip1.Text = "toolStrip1";
            // 
            // statusStrip1
            // 
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripStatusLabel1});
            this.statusStrip1.Location = new System.Drawing.Point(0, 251);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.Size = new System.Drawing.Size(292, 22);
            this.statusStrip1.TabIndex = 1;
            this.statusStrip1.Text = "statusStrip1";
            // 
            // toolStripStatusLabel1
            // 
            this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
            this.toolStripStatusLabel1.Size = new System.Drawing.Size(38, 17);
            this.toolStripStatusLabel1.Text = "Ready";
            // 
            // contextMenuStrip1
            // 
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.menuItem1ToolStripMenuItem,
            this.menuItem2ToolStripMenuItem});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.RightToLeft = System.Windows.Forms.RightToLeft.No;
            this.contextMenuStrip1.Size = new System.Drawing.Size(146, 48);
            // 
            // menuItem1ToolStripMenuItem
            // 
            this.menuItem1ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.subItemToolStripMenuItem});
            this.menuItem1ToolStripMenuItem.Name = "menuItem1ToolStripMenuItem";
            this.menuItem1ToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
            this.menuItem1ToolStripMenuItem.Text = "Menu Item1";
            // 
            // menuItem2ToolStripMenuItem
            // 
            this.menuItem2ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.subItem2ToolStripMenuItem});
            this.menuItem2ToolStripMenuItem.Name = "menuItem2ToolStripMenuItem";
            this.menuItem2ToolStripMenuItem.Size = new System.Drawing.Size(145, 22);
            this.menuItem2ToolStripMenuItem.Text = "Menu Item 2";
            // 
            // subItemToolStripMenuItem
            // 
            this.subItemToolStripMenuItem.Name = "subItemToolStripMenuItem";
            this.subItemToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.subItemToolStripMenuItem.Text = "Sub Item";
            // 
            // subItem2ToolStripMenuItem
            // 
            this.subItem2ToolStripMenuItem.Name = "subItem2ToolStripMenuItem";
            this.subItem2ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            this.subItem2ToolStripMenuItem.Text = "Sub Item2";
            // 
            // showButton
            // 
            this.showButton.Location = new System.Drawing.Point(12, 180);
            this.showButton.Name = "showButton";
            this.showButton.Size = new System.Drawing.Size(75, 23);
            this.showButton.TabIndex = 2;
            this.showButton.Text = "Show";
            this.showButton.UseVisualStyleBackColor = true;
            this.showButton.Click += new System.EventHandler(this.showButton_Click);
            // 
            // hideButton
            // 
            this.hideButton.Location = new System.Drawing.Point(12, 209);
            this.hideButton.Name = "hideButton";
            this.hideButton.Size = new System.Drawing.Size(75, 23);
            this.hideButton.TabIndex = 3;
            this.hideButton.Text = "Hide";
            this.hideButton.UseVisualStyleBackColor = true;
            this.hideButton.Click += new System.EventHandler(this.hideButton_Click);
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(292, 273);
            this.Controls.Add(this.statusStrip1);
            this.Controls.Add(this.hideButton);
            this.Controls.Add(this.toolStrip1);
            this.Controls.Add(this.showButton);
            this.Name = "Form1";
            this.Text = "Form1";
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.contextMenuStrip1.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();
        }

        #endregion
    }

    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Drawing
Imports System.Windows.Forms

Public Class Form1
   Inherits Form
   Private toolStrip1 As ToolStrip
   Private statusStrip1 As StatusStrip
   Private toolStripStatusLabel1 As ToolStripStatusLabel
   Private contextMenuStrip1 As ContextMenuStrip
   Private menuItem1ToolStripMenuItem As ToolStripMenuItem
   Private menuItem2ToolStripMenuItem As ToolStripMenuItem
   Private subItemToolStripMenuItem As ToolStripMenuItem
   Private subItem2ToolStripMenuItem As ToolStripMenuItem
   Private WithEvents showButton As Button
   Private WithEvents hideButton As Button
   Private components As System.ComponentModel.IContainer = Nothing
   
   
   Public Sub New()
      InitializeComponent()
      Me.InitializeToolStripDropDownItems()
    End Sub
   
   ' This utility method creates and initializes three 
   ' ToolStripDropDownItem controls and adds them 
   ' to the form's ToolStrip control.
   Private Sub InitializeToolStripDropDownItems()
      Dim b As New ToolStripDropDownButton("DropDownButton")
      b.DropDown = Me.contextMenuStrip1
      AddHandler b.DropDownClosed, AddressOf toolStripDropDownItem_DropDownClosed
      AddHandler b.DropDownItemClicked, AddressOf toolStripDropDownItem_DropDownItemClicked
      AddHandler b.DropDownOpened, AddressOf toolStripDropDownItem_DropDownOpened
      
      Dim m As New ToolStripMenuItem("MenuItem")
      m.DropDown = Me.contextMenuStrip1
      AddHandler m.DropDownClosed, AddressOf toolStripDropDownItem_DropDownClosed
      AddHandler m.DropDownItemClicked, AddressOf toolStripDropDownItem_DropDownItemClicked
      AddHandler m.DropDownOpened, AddressOf toolStripDropDownItem_DropDownOpened
      
      Dim sb As New ToolStripSplitButton("SplitButton")
      sb.DropDown = Me.contextMenuStrip1
      AddHandler sb.DropDownClosed, AddressOf toolStripDropDownItem_DropDownClosed
      AddHandler sb.DropDownItemClicked, AddressOf toolStripDropDownItem_DropDownItemClicked
      AddHandler sb.DropDownOpened, AddressOf toolStripDropDownItem_DropDownOpened
      
      Me.toolStrip1.Items.AddRange(New ToolStripItem() {b, m, sb})
   End Sub 

   ' This method handles the DropDownOpened event from a 
   ' ToolStripDropDownItem. It displays the value of the 
   ' item's Text property in the form's StatusStrip control.
    Private Sub toolStripDropDownItem_DropDownOpened(ByVal sender As Object, ByVal e As EventArgs)

        Dim item As ToolStripDropDownItem = CType(sender, ToolStripDropDownItem)

        Dim msg As String = String.Format("Item opened: {0}", item.Text)
        Me.toolStripStatusLabel1.Text = msg

    End Sub

   ' This method handles the DropDownItemClicked event from a 
   ' ToolStripDropDownItem. It displays the value of the clicked
   ' item's Text property in the form's StatusStrip control.
    Private Sub toolStripDropDownItem_DropDownItemClicked( _
    ByVal sender As Object, _
    ByVal e As ToolStripItemClickedEventArgs)

        Dim msg As String = String.Format("Item clicked: {0}", e.ClickedItem.Text)
        Me.toolStripStatusLabel1.Text = msg

    End Sub

   ' This method handles the DropDownClosed event from a 
   ' ToolStripDropDownItem. It displays the value of the 
   ' item's Text property in the form's StatusStrip control.
    Private Sub toolStripDropDownItem_DropDownClosed(ByVal sender As Object, ByVal e As EventArgs)

        Dim item As ToolStripDropDownItem = CType(sender, ToolStripDropDownItem)

        Dim msg As String = String.Format("Item closed: {0}", item.Text)
        Me.toolStripStatusLabel1.Text = msg

    End Sub

   ' This method shows the drop-down for the first item
   ' in the form's ToolStrip.
    Private Sub showButton_Click( _
    ByVal sender As Object, _
    ByVal e As EventArgs) _
    Handles showButton.Click

        Dim item As ToolStripDropDownItem = CType(Me.toolStrip1.Items(0), ToolStripDropDownItem)

        If item.HasDropDownItems Then
            item.ShowDropDown()
        End If

    End Sub

   ' This method hides the drop-down for the first item
   ' in the form's ToolStrip.
    Private Sub hideButton_Click( _
    ByVal sender As Object, _
    ByVal e As EventArgs) _
    Handles hideButton.Click

        Dim item As ToolStripDropDownItem = CType(Me.toolStrip1.Items(0), ToolStripDropDownItem)

        item.HideDropDown()
    End Sub

   Protected Overrides Sub Dispose(disposing As Boolean)
      If disposing AndAlso (components IsNot Nothing) Then
         components.Dispose()
      End If
      MyBase.Dispose(disposing)
    End Sub
   
   #Region "Windows Form Designer generated code"
   
   
   Private Sub InitializeComponent()
      Me.components = New System.ComponentModel.Container()
      Me.toolStrip1 = New System.Windows.Forms.ToolStrip()
      Me.statusStrip1 = New System.Windows.Forms.StatusStrip()
      Me.toolStripStatusLabel1 = New System.Windows.Forms.ToolStripStatusLabel()
      Me.contextMenuStrip1 = New System.Windows.Forms.ContextMenuStrip(Me.components)
      Me.menuItem1ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
      Me.menuItem2ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
      Me.subItemToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
      Me.subItem2ToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem()
      Me.showButton = New System.Windows.Forms.Button()
      Me.hideButton = New System.Windows.Forms.Button()
      Me.statusStrip1.SuspendLayout()
      Me.contextMenuStrip1.SuspendLayout()
      Me.SuspendLayout()
      ' 
      ' toolStrip1
      ' 
      Me.toolStrip1.Location = New System.Drawing.Point(0, 0)
      Me.toolStrip1.Name = "toolStrip1"
      Me.toolStrip1.Size = New System.Drawing.Size(292, 25)
      Me.toolStrip1.TabIndex = 0
      Me.toolStrip1.Text = "toolStrip1"
      ' 
      ' statusStrip1
      ' 
      Me.statusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.toolStripStatusLabel1})
      Me.statusStrip1.Location = New System.Drawing.Point(0, 251)
      Me.statusStrip1.Name = "statusStrip1"
      Me.statusStrip1.Size = New System.Drawing.Size(292, 22)
      Me.statusStrip1.TabIndex = 1
      Me.statusStrip1.Text = "statusStrip1"
      ' 
      ' toolStripStatusLabel1
      ' 
      Me.toolStripStatusLabel1.Name = "toolStripStatusLabel1"
      Me.toolStripStatusLabel1.Size = New System.Drawing.Size(38, 17)
      Me.toolStripStatusLabel1.Text = "Ready"
      ' 
      ' contextMenuStrip1
      ' 
      Me.contextMenuStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.menuItem1ToolStripMenuItem, Me.menuItem2ToolStripMenuItem})
      Me.contextMenuStrip1.Name = "contextMenuStrip1"
      Me.contextMenuStrip1.RightToLeft = System.Windows.Forms.RightToLeft.No
      Me.contextMenuStrip1.Size = New System.Drawing.Size(146, 48)
      ' 
      ' menuItem1ToolStripMenuItem
      ' 
      Me.menuItem1ToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.subItemToolStripMenuItem})
      Me.menuItem1ToolStripMenuItem.Name = "menuItem1ToolStripMenuItem"
      Me.menuItem1ToolStripMenuItem.Size = New System.Drawing.Size(145, 22)
      Me.menuItem1ToolStripMenuItem.Text = "Menu Item1"
      ' 
      ' menuItem2ToolStripMenuItem
      ' 
      Me.menuItem2ToolStripMenuItem.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.subItem2ToolStripMenuItem})
      Me.menuItem2ToolStripMenuItem.Name = "menuItem2ToolStripMenuItem"
      Me.menuItem2ToolStripMenuItem.Size = New System.Drawing.Size(145, 22)
      Me.menuItem2ToolStripMenuItem.Text = "Menu Item 2"
      ' 
      ' subItemToolStripMenuItem
      ' 
      Me.subItemToolStripMenuItem.Name = "subItemToolStripMenuItem"
      Me.subItemToolStripMenuItem.Size = New System.Drawing.Size(152, 22)
      Me.subItemToolStripMenuItem.Text = "Sub Item"
      ' 
      ' subItem2ToolStripMenuItem
      ' 
      Me.subItem2ToolStripMenuItem.Name = "subItem2ToolStripMenuItem"
      Me.subItem2ToolStripMenuItem.Size = New System.Drawing.Size(152, 22)
      Me.subItem2ToolStripMenuItem.Text = "Sub Item2"
      ' 
      ' showButton
      ' 
      Me.showButton.Location = New System.Drawing.Point(12, 180)
      Me.showButton.Name = "showButton"
      Me.showButton.Size = New System.Drawing.Size(75, 23)
      Me.showButton.TabIndex = 2
      Me.showButton.Text = "Show"
      Me.showButton.UseVisualStyleBackColor = True
      ' 
      ' hideButton
      ' 
      Me.hideButton.Location = New System.Drawing.Point(12, 209)
      Me.hideButton.Name = "hideButton"
      Me.hideButton.Size = New System.Drawing.Size(75, 23)
      Me.hideButton.TabIndex = 3
      Me.hideButton.Text = "Hide"
      Me.hideButton.UseVisualStyleBackColor = True
      ' 
      ' Form1
      ' 
      Me.AutoScaleDimensions = New System.Drawing.SizeF(6F, 13F)
      Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
      Me.ClientSize = New System.Drawing.Size(292, 273)
      Me.Controls.Add(statusStrip1)
      Me.Controls.Add(hideButton)
      Me.Controls.Add(toolStrip1)
      Me.Controls.Add(showButton)
      Me.Name = "Form1"
      Me.Text = "Form1"
      Me.statusStrip1.ResumeLayout(False)
      Me.statusStrip1.PerformLayout()
      Me.contextMenuStrip1.ResumeLayout(False)
      Me.ResumeLayout(False)
      Me.PerformLayout()
    End Sub
   
   #End Region
End Class


Public Class Program

    ' The main entry point for the application.
    <STAThread()> _
    Shared Sub Main()
        Application.EnableVisualStyles()
        Application.SetCompatibleTextRenderingDefault(False)
        Application.Run(New Form1())
    End Sub
End Class

Keterangan

ToolStripDropDownItem adalah kelas dasar abstrak untuk ToolStripMenuItem, , ToolStripDropDownButtondan ToolStripSplitButton, yang dapat menghosting item secara langsung atau menghosting item tambahan dalam kontainer drop-down. Anda melakukan ini dengan mengatur DropDown properti ke ToolStripDropDown dan mengatur Items properti dari ToolStripDropDown. Akses item drop-down ini langsung melalui DropDownItems properti .

Konstruktor

ToolStripDropDownItem()

Menginisialisasi instans baru kelas ToolStripDropDownItem.

ToolStripDropDownItem(String, Image, EventHandler)

Menginisialisasi instans ToolStripDropDownItem baru kelas dengan teks tampilan, gambar, dan tindakan yang ditentukan untuk diambil saat kontrol drop-down diklik.

ToolStripDropDownItem(String, Image, EventHandler, String)

Menginisialisasi instans ToolStripDropDownItem baru kelas dengan teks tampilan, gambar, tindakan yang ditentukan untuk diambil saat kontrol drop-down diklik, dan nama kontrol.

ToolStripDropDownItem(String, Image, ToolStripItem[])

Menginisialisasi instans ToolStripDropDownItem baru kelas dengan teks tampilan, gambar, dan ToolStripItem koleksi yang ditentukan yang dimuat kontrol drop-down.

Properti

AccessibilityObject

Mendapatkan yang AccessibleObject ditetapkan ke kontrol.

(Diperoleh dari ToolStripItem)
AccessibleDefaultActionDescription

Mendapatkan atau mengatur deskripsi tindakan default kontrol untuk digunakan oleh aplikasi klien aksesibilitas.

(Diperoleh dari ToolStripItem)
AccessibleDescription

Mendapatkan atau mengatur deskripsi yang akan dilaporkan ke aplikasi klien aksesibilitas.

(Diperoleh dari ToolStripItem)
AccessibleName

Mendapatkan atau mengatur nama kontrol untuk digunakan oleh aplikasi klien aksesibilitas.

(Diperoleh dari ToolStripItem)
AccessibleRole

Mendapatkan atau mengatur peran kontrol yang dapat diakses, yang menentukan jenis elemen antarmuka pengguna kontrol.

(Diperoleh dari ToolStripItem)
Alignment

Mendapatkan atau menetapkan nilai yang menunjukkan apakah item selaras terhadap awal atau akhir ToolStrip.

(Diperoleh dari ToolStripItem)
AllowDrop

Mendapatkan atau menetapkan nilai yang menunjukkan apakah pengurutan ulang seret dan letakkan dan item ditangani melalui peristiwa yang Anda terapkan.

(Diperoleh dari ToolStripItem)
Anchor

Mendapatkan atau mengatur tepi kontainer yang ToolStripItem terikat dan menentukan bagaimana diubah ToolStripItem ukurannya dengan induknya.

(Diperoleh dari ToolStripItem)
AutoSize

Mendapatkan atau menetapkan nilai yang menunjukkan apakah item berukuran otomatis.

(Diperoleh dari ToolStripItem)
AutoToolTip

Mendapatkan atau menetapkan nilai yang menunjukkan apakah akan menggunakan Text properti atau ToolTipText properti untuk TipsAlat ToolStripItem .

(Diperoleh dari ToolStripItem)
Available

Mendapatkan atau menetapkan nilai yang menunjukkan apakah ToolStripItem harus ditempatkan pada ToolStrip.

(Diperoleh dari ToolStripItem)
BackColor

Mendapatkan atau mengatur warna latar belakang untuk item.

(Diperoleh dari ToolStripItem)
BackgroundImage

Mendapatkan atau mengatur gambar latar belakang yang ditampilkan dalam item.

(Diperoleh dari ToolStripItem)
BackgroundImageLayout

Mendapatkan atau mengatur tata letak gambar latar belakang yang digunakan untuk ToolStripItem.

(Diperoleh dari ToolStripItem)
BindingContext

Mendapatkan atau mengatur pengumpulan manajer mata uang untuk IBindableComponent.

(Diperoleh dari BindableComponent)
Bounds

Mendapatkan ukuran dan lokasi item.

(Diperoleh dari ToolStripItem)
CanRaiseEvents

Mendapatkan nilai yang menunjukkan apakah komponen dapat menaikkan peristiwa.

(Diperoleh dari Component)
CanSelect

Mendapatkan nilai yang menunjukkan apakah item dapat dipilih.

(Diperoleh dari ToolStripItem)
Command

Mendapatkan atau mengatur ICommand metode yang Execute(Object) akan dipanggil ketika peristiwa ToolStripItem Click dipanggil.

(Diperoleh dari ToolStripItem)
CommandParameter

Mendapatkan atau mengatur parameter yang diteruskan ke ICommand yang ditetapkan ke Command properti .

(Diperoleh dari ToolStripItem)
Container

IContainer Mendapatkan yang berisi Component.

(Diperoleh dari Component)
ContentRectangle

Mendapatkan area di mana konten, seperti teks dan ikon, dapat ditempatkan di dalam ToolStripItem tanpa menimpa batas latar belakang.

(Diperoleh dari ToolStripItem)
DataBindings

Mendapatkan pengumpulan objek pengikatan data untuk ini IBindableComponent.

(Diperoleh dari BindableComponent)
DefaultAutoToolTip

Mendapatkan nilai yang menunjukkan apakah akan menampilkan ToolTip yang didefinisikan sebagai default.

(Diperoleh dari ToolStripItem)
DefaultDisplayStyle

Mendapatkan nilai yang menunjukkan apa yang ditampilkan pada ToolStripItem.

(Diperoleh dari ToolStripItem)
DefaultMargin

Mendapatkan margin default item.

(Diperoleh dari ToolStripItem)
DefaultPadding

Mendapatkan karakteristik penspasian internal item.

(Diperoleh dari ToolStripItem)
DefaultSize

Mendapatkan ukuran default item.

(Diperoleh dari ToolStripItem)
DesignMode

Mendapatkan nilai yang menunjukkan apakah Component saat ini dalam mode desain.

(Diperoleh dari Component)
DismissWhenClicked

Mendapatkan nilai yang menunjukkan apakah item disembunyikan ToolStripDropDown setelah diklik.

(Diperoleh dari ToolStripItem)
DisplayStyle

Mendapatkan atau mengatur apakah teks dan gambar ditampilkan di ToolStripItem.

(Diperoleh dari ToolStripItem)
Dock

Mendapatkan atau mengatur batas mana yang ToolStripItem ditampung ke kontrol induknya dan menentukan bagaimana perubahan ToolStripItem ukuran dengan induknya.

(Diperoleh dari ToolStripItem)
DoubleClickEnabled

Mendapatkan atau menetapkan nilai yang menunjukkan apakah ToolStripItem dapat diaktifkan dengan mengklik dua kali mouse.

(Diperoleh dari ToolStripItem)
DropDown

Mendapatkan atau mengatur ToolStripDropDown yang akan ditampilkan saat ini ToolStripDropDownItem diklik.

DropDownDirection

Mendapatkan atau menetapkan nilai yang menunjukkan arah di mana ToolStripDropDownItem muncul dari kontainer induknya.

DropDownItems

Mendapatkan koleksi item dalam ToolStripDropDown yang terkait dengan ini ToolStripDropDownItem.

DropDownLocation

Mendapatkan koordinat layar, dalam piksel, dari sudut ToolStripDropDownItemkiri atas .

Enabled

Mendapatkan atau menetapkan nilai yang menunjukkan apakah kontrol ToolStripItem induk diaktifkan.

(Diperoleh dari ToolStripItem)
Events

Mendapatkan daftar penanganan aktivitas yang dilampirkan ke ini Component.

(Diperoleh dari Component)
Font

Mendapatkan atau mengatur font teks yang ditampilkan oleh item.

(Diperoleh dari ToolStripItem)
ForeColor

Mendapatkan atau mengatur warna latar depan item.

(Diperoleh dari ToolStripItem)
HasDropDown

Mendapatkan atau menetapkan nilai yang menunjukkan apakah DropDown untuk ToolStripDropDownItem yang telah dibuat.

HasDropDownItems

Mendapatkan nilai yang menunjukkan apakah ToolStripDropDownItem kontrol has ToolStripDropDown yang terkait dengannya.

Height

Mendapatkan atau mengatur tinggi, dalam piksel, dari ToolStripItem.

(Diperoleh dari ToolStripItem)
Image

Mendapatkan atau mengatur gambar yang ditampilkan pada ToolStripItem.

(Diperoleh dari ToolStripItem)
ImageAlign

Mendapatkan atau mengatur perataan gambar pada ToolStripItem.

(Diperoleh dari ToolStripItem)
ImageIndex

Mendapatkan atau mengatur nilai indeks gambar yang ditampilkan pada item.

(Diperoleh dari ToolStripItem)
ImageKey

Mendapatkan atau mengatur aksesor kunci untuk gambar dalam ImageList yang ditampilkan pada ToolStripItem.

(Diperoleh dari ToolStripItem)
ImageScaling

Mendapatkan atau menetapkan nilai yang menunjukkan apakah gambar pada ToolStripItem diubah ukurannya secara otomatis agar pas dalam kontainer.

(Diperoleh dari ToolStripItem)
ImageTransparentColor

Mendapatkan atau mengatur warna untuk diperlakukan sebagai transparan dalam gambar ToolStripItem .

(Diperoleh dari ToolStripItem)
IsDisposed

Mendapatkan nilai yang menunjukkan apakah objek telah dibuang.

(Diperoleh dari ToolStripItem)
IsOnDropDown

Mendapatkan nilai yang menunjukkan apakah kontainer saat ini Control adalah ToolStripDropDown.

(Diperoleh dari ToolStripItem)
IsOnOverflow

Mendapatkan nilai yang menunjukkan apakah Placement properti diatur ke Overflow.

(Diperoleh dari ToolStripItem)
Margin

Mendapatkan atau mengatur spasi antara item dan item yang berdingin.

(Diperoleh dari ToolStripItem)
MergeAction

Mendapatkan atau mengatur bagaimana menu anak digabungkan dengan menu induk.

(Diperoleh dari ToolStripItem)
MergeIndex

Mendapatkan atau mengatur posisi item gabungan dalam saat ini ToolStrip.

(Diperoleh dari ToolStripItem)
Name

Mendapatkan atau mengatur nama item.

(Diperoleh dari ToolStripItem)
Overflow

Mendapatkan atau mengatur apakah item dilampirkan ke ToolStrip atau ToolStripOverflowButton atau dapat mengambang di antara keduanya.

(Diperoleh dari ToolStripItem)
Owner

Mendapatkan atau menyetel pemilik item ini.

(Diperoleh dari ToolStripItem)
OwnerItem

Mendapatkan induk ToolStripItem dari ini ToolStripItem.

(Diperoleh dari ToolStripItem)
Padding

Mendapatkan atau mengatur spasi internal, dalam piksel, antara konten item dan tepinya.

(Diperoleh dari ToolStripItem)
Parent

Mendapatkan atau mengatur kontainer induk dari ToolStripItem.

(Diperoleh dari ToolStripItem)
Placement

Mendapatkan tata letak item saat ini.

(Diperoleh dari ToolStripItem)
Pressed

Mendapatkan nilai yang menunjukkan apakah berada dalam status ToolStripDropDownItem ditekan.

RightToLeft

Mendapatkan atau menetapkan nilai yang menunjukkan apakah item akan ditempatkan dari kanan ke kiri dan teks akan ditulis dari kanan ke kiri.

(Diperoleh dari ToolStripItem)
RightToLeftAutoMirrorImage

Mencerminkan ToolStripItem gambar secara otomatis saat RightToLeft properti diatur ke Yes.

(Diperoleh dari ToolStripItem)
Selected

Mendapatkan nilai yang menunjukkan apakah item dipilih.

(Diperoleh dari ToolStripItem)
ShowKeyboardCues

Mendapatkan nilai yang menunjukkan apakah akan menampilkan atau menyembunyikan kunci pintasan.

(Diperoleh dari ToolStripItem)
Site

Mendapatkan atau mengatur ISite dari Component.

(Diperoleh dari Component)
Size

Mendapatkan atau mengatur ukuran item.

(Diperoleh dari ToolStripItem)
Tag

Mendapatkan atau mengatur objek yang berisi data tentang item.

(Diperoleh dari ToolStripItem)
Text

Mendapatkan atau mengatur teks yang akan ditampilkan pada item.

(Diperoleh dari ToolStripItem)
TextAlign

Mendapatkan atau mengatur perataan teks pada ToolStripLabel.

(Diperoleh dari ToolStripItem)
TextDirection

Mendapatkan orientasi teks yang digunakan pada ToolStripItem.

(Diperoleh dari ToolStripItem)
TextImageRelation

Mendapatkan atau mengatur posisi ToolStripItem teks dan gambar relatif satu sama lain.

(Diperoleh dari ToolStripItem)
ToolTipText

Mendapatkan atau mengatur teks yang muncul sebagai ToolTip untuk kontrol.

(Diperoleh dari ToolStripItem)
Visible

Mendapatkan atau mengatur nilai yang menunjukkan apakah item ditampilkan.

(Diperoleh dari ToolStripItem)
Width

Mendapatkan atau mengatur lebar dalam piksel .ToolStripItem

(Diperoleh dari ToolStripItem)

Metode

CreateAccessibilityInstance()

Membuat objek aksesibilitas baru untuk ToolStripItem.

CreateDefaultDropDown()

Membuat generik ToolStripDropDown tempat peristiwa dapat didefinisikan.

CreateObjRef(Type)

Membuat objek yang berisi semua informasi relevan yang diperlukan untuk menghasilkan proksi yang digunakan untuk berkomunikasi dengan objek jarak jauh.

(Diperoleh dari MarshalByRefObject)
Dispose()

Merilis semua sumber daya yang Componentdigunakan oleh .

(Diperoleh dari Component)
Dispose(Boolean)

Merilis sumber daya tidak terkelola yang ToolStripDropDownItem digunakan oleh dan secara opsional merilis sumber daya terkelola.

DoDragDrop(Object, DragDropEffects)

Memulai operasi seret dan letakkan.

(Diperoleh dari ToolStripItem)
DoDragDrop(Object, DragDropEffects, Bitmap, Point, Boolean)

Memulai operasi seret.

(Diperoleh dari ToolStripItem)
Equals(Object)

Menentukan apakah objek yang ditentukan sama dengan objek saat ini.

(Diperoleh dari Object)
GetCurrentParent()

ToolStrip Mengambil yang merupakan kontainer dari saat iniToolStripItem.

(Diperoleh dari ToolStripItem)
GetHashCode()

Berfungsi sebagai fungsi hash default.

(Diperoleh dari Object)
GetLifetimeService()
Kedaluwarsa.

Mengambil objek layanan seumur hidup saat ini yang mengontrol kebijakan seumur hidup untuk instans ini.

(Diperoleh dari MarshalByRefObject)
GetPreferredSize(Size)

Mengambil ukuran area persegi panjang di mana kontrol dapat pas.

(Diperoleh dari ToolStripItem)
GetService(Type)

Mengembalikan objek yang mewakili layanan yang disediakan oleh Component atau oleh Container.

(Diperoleh dari Component)
GetType()

Mendapatkan instans Type saat ini.

(Diperoleh dari Object)
HideDropDown()

Membuat terlihat ToolStripDropDown tersembunyi.

InitializeLifetimeService()
Kedaluwarsa.

Mendapatkan objek layanan seumur hidup untuk mengontrol kebijakan seumur hidup untuk instans ini.

(Diperoleh dari MarshalByRefObject)
Invalidate()

Membatalkan seluruh permukaan ToolStripItem dan menyebabkannya digambar ulang.

(Diperoleh dari ToolStripItem)
Invalidate(Rectangle)

Membatalkan wilayah yang ditentukan dengan ToolStripItem menambahkannya ke wilayah ToolStripItempembaruan , yang merupakan area yang akan dicat ulang pada operasi cat berikutnya, dan menyebabkan pesan cat dikirim ke ToolStripItem.

(Diperoleh dari ToolStripItem)
IsInputChar(Char)

Menentukan apakah karakter adalah karakter input yang dikenali item.

(Diperoleh dari ToolStripItem)
IsInputKey(Keys)

Menentukan apakah kunci yang ditentukan adalah kunci input reguler atau kunci khusus yang memerlukan pra-pemrosesan.

(Diperoleh dari ToolStripItem)
MemberwiseClone()

Membuat salinan dangkal dari yang saat ini Object.

(Diperoleh dari Object)
MemberwiseClone(Boolean)

Membuat salinan dangkal objek saat ini MarshalByRefObject .

(Diperoleh dari MarshalByRefObject)
OnAvailableChanged(EventArgs)

Menaikkan peristiwa AvailableChanged.

(Diperoleh dari ToolStripItem)
OnBackColorChanged(EventArgs)

Memunculkan kejadian BackColorChanged.

(Diperoleh dari ToolStripItem)
OnBindingContextChanged(EventArgs)

Memunculkan kejadian BindingContextChanged.

(Diperoleh dari BindableComponent)
OnBoundsChanged()

Terjadi saat Bounds properti berubah.

OnClick(EventArgs)

Memunculkan kejadian Click.

(Diperoleh dari ToolStripItem)
OnCommandCanExecuteChanged(EventArgs)

Memunculkan kejadian CommandCanExecuteChanged.

(Diperoleh dari ToolStripItem)
OnCommandChanged(EventArgs)

Memunculkan kejadian CommandChanged.

(Diperoleh dari ToolStripItem)
OnCommandParameterChanged(EventArgs)

Memunculkan kejadian CommandParameterChanged.

(Diperoleh dari ToolStripItem)
OnDisplayStyleChanged(EventArgs)

Memunculkan kejadian DisplayStyleChanged.

(Diperoleh dari ToolStripItem)
OnDoubleClick(EventArgs)

Memunculkan kejadian DoubleClick.

(Diperoleh dari ToolStripItem)
OnDragDrop(DragEventArgs)

Memunculkan kejadian DragDrop.

(Diperoleh dari ToolStripItem)
OnDragEnter(DragEventArgs)

Memunculkan kejadian DragEnter.

(Diperoleh dari ToolStripItem)
OnDragLeave(EventArgs)

Memunculkan kejadian DragLeave.

(Diperoleh dari ToolStripItem)
OnDragOver(DragEventArgs)

Memunculkan kejadian DragOver.

(Diperoleh dari ToolStripItem)
OnDropDownClosed(EventArgs)

Memunculkan kejadian DropDownClosed.

OnDropDownHide(EventArgs)

Dimunculkan sebagai respons terhadap HideDropDown() metode .

OnDropDownItemClicked(ToolStripItemClickedEventArgs)

Memunculkan kejadian DropDownItemClicked.

OnDropDownOpened(EventArgs)

Memunculkan kejadian DropDownOpened.

OnDropDownShow(EventArgs)

Dimunculkan sebagai respons terhadap ShowDropDown() metode .

OnEnabledChanged(EventArgs)

Memunculkan kejadian EnabledChanged.

(Diperoleh dari ToolStripItem)
OnFontChanged(EventArgs)

Memunculkan kejadian FontChanged.

OnForeColorChanged(EventArgs)

Memunculkan kejadian ForeColorChanged.

(Diperoleh dari ToolStripItem)
OnGiveFeedback(GiveFeedbackEventArgs)

Memunculkan kejadian GiveFeedback.

(Diperoleh dari ToolStripItem)
OnLayout(LayoutEventArgs)

Memunculkan kejadian Layout.

(Diperoleh dari ToolStripItem)
OnLocationChanged(EventArgs)

Memunculkan kejadian LocationChanged.

(Diperoleh dari ToolStripItem)
OnMouseDown(MouseEventArgs)

Memunculkan kejadian MouseDown.

(Diperoleh dari ToolStripItem)
OnMouseEnter(EventArgs)

Memunculkan kejadian MouseEnter.

(Diperoleh dari ToolStripItem)
OnMouseHover(EventArgs)

Memunculkan kejadian MouseHover.

(Diperoleh dari ToolStripItem)
OnMouseLeave(EventArgs)

Memunculkan kejadian MouseLeave.

(Diperoleh dari ToolStripItem)
OnMouseMove(MouseEventArgs)

Memunculkan kejadian MouseMove.

(Diperoleh dari ToolStripItem)
OnMouseUp(MouseEventArgs)

Memunculkan kejadian MouseUp.

(Diperoleh dari ToolStripItem)
OnOwnerChanged(EventArgs)

Memunculkan kejadian OwnerChanged.

(Diperoleh dari ToolStripItem)
OnOwnerFontChanged(EventArgs)

Menaikkan FontChanged peristiwa ketika Font properti telah berubah pada induk .ToolStripItem

(Diperoleh dari ToolStripItem)
OnPaint(PaintEventArgs)

Memunculkan kejadian Paint.

(Diperoleh dari ToolStripItem)
OnParentBackColorChanged(EventArgs)

Memunculkan kejadian BackColorChanged.

(Diperoleh dari ToolStripItem)
OnParentChanged(ToolStrip, ToolStrip)

Memunculkan kejadian ParentChanged.

(Diperoleh dari ToolStripItem)
OnParentEnabledChanged(EventArgs)

EnabledChanged Menaikkan peristiwa saat Enabled nilai properti kontainer item berubah.

(Diperoleh dari ToolStripItem)
OnParentForeColorChanged(EventArgs)

Memunculkan kejadian ForeColorChanged.

(Diperoleh dari ToolStripItem)
OnParentRightToLeftChanged(EventArgs)

Memunculkan kejadian RightToLeftChanged.

(Diperoleh dari ToolStripItem)
OnQueryContinueDrag(QueryContinueDragEventArgs)

Memunculkan kejadian QueryContinueDrag.

(Diperoleh dari ToolStripItem)
OnRequestCommandExecute(EventArgs)

Dipanggil dalam konteks OnClick(EventArgs) untuk memanggil Execute(Object) jika konteks memungkinkan.

(Diperoleh dari ToolStripItem)
OnRightToLeftChanged(EventArgs)

Memunculkan kejadian RightToLeftChanged.

OnSelectedChanged(EventArgs)

Menyediakan fungsionalitas dasar untuk kontrol yang menampilkan ToolStripDropDown saat ToolStripDropDownButtonkontrol , , ToolStripMenuItematau ToolStripSplitButton diklik.

(Diperoleh dari ToolStripItem)
OnTextChanged(EventArgs)

Memunculkan kejadian TextChanged.

(Diperoleh dari ToolStripItem)
OnVisibleChanged(EventArgs)

Memunculkan kejadian VisibleChanged.

(Diperoleh dari ToolStripItem)
PerformClick()

Click Menghasilkan peristiwa untuk ToolStripItem.

(Diperoleh dari ToolStripItem)
ProcessCmdKey(Message, Keys)

Memproses kunci perintah.

ProcessDialogKey(Keys)

Memproses kunci dialog.

ProcessMnemonic(Char)

Memproses karakter mnemonic.

(Diperoleh dari ToolStripItem)
ResetBackColor()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetDisplayStyle()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetFont()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetForeColor()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetImage()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetMargin()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetPadding()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetRightToLeft()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
ResetTextDirection()

Metode ini tidak relevan dengan kelas ini.

(Diperoleh dari ToolStripItem)
Select()

Memilih item.

(Diperoleh dari ToolStripItem)
SetBounds(Rectangle)

Mengatur ukuran dan lokasi item.

(Diperoleh dari ToolStripItem)
SetVisibleCore(Boolean)

Mengatur ke ToolStripItem status terlihat yang ditentukan.

(Diperoleh dari ToolStripItem)
ShowDropDown()

Menampilkan kontrol yang ToolStripDropDownItem terkait dengan ini ToolStripDropDownItem.

ToString()

Mengembalikan yang String berisi nama Component, jika ada. Metode ini tidak boleh ditimpa.

(Diperoleh dari ToolStripItem)

Acara

AvailableChanged

Terjadi ketika nilai Available properti berubah.

(Diperoleh dari ToolStripItem)
BackColorChanged

Terjadi ketika nilai BackColor properti berubah.

(Diperoleh dari ToolStripItem)
BindingContextChanged

Terjadi ketika konteks pengikatan telah berubah.

(Diperoleh dari BindableComponent)
Click

Terjadi ketika diklik ToolStripItem .

(Diperoleh dari ToolStripItem)
CommandCanExecuteChanged

Terjadi ketika CanExecute(Object) status ICommand yang ditetapkan ke Command properti telah berubah.

(Diperoleh dari ToolStripItem)
CommandChanged

Terjadi ketika properti yang Command ditetapkan ICommand telah berubah.

(Diperoleh dari ToolStripItem)
CommandParameterChanged

Terjadi ketika nilai CommandParameter properti telah berubah.

(Diperoleh dari ToolStripItem)
DisplayStyleChanged

Terjadi ketika DisplayStyle telah berubah.

(Diperoleh dari ToolStripItem)
Disposed

Terjadi ketika komponen dibuang oleh panggilan ke Dispose() metode .

(Diperoleh dari Component)
DoubleClick

Terjadi ketika item diklik dua kali dengan mouse.

(Diperoleh dari ToolStripItem)
DragDrop

Terjadi ketika pengguna menyeret item dan pengguna melepaskan tombol mouse, menunjukkan bahwa item harus dijatuhkan ke item ini.

(Diperoleh dari ToolStripItem)
DragEnter

Terjadi ketika pengguna menyeret item ke area klien item ini.

(Diperoleh dari ToolStripItem)
DragLeave

Terjadi ketika pengguna menyeret item dan penunjuk mouse tidak lagi melewati area klien item ini.

(Diperoleh dari ToolStripItem)
DragOver

Terjadi ketika pengguna menyeret item ke area klien item ini.

(Diperoleh dari ToolStripItem)
DropDownClosed

Terjadi ketika ToolStripDropDown penutupan.

DropDownItemClicked

Terjadi ketika diklik ToolStripDropDown .

DropDownOpened

Terjadi ketika ToolStripDropDown telah dibuka.

DropDownOpening

Terjadi saat ToolStripDropDown sedang dibuka.

EnabledChanged

Terjadi ketika Enabled nilai properti telah berubah.

(Diperoleh dari ToolStripItem)
ForeColorChanged

Terjadi ketika ForeColor nilai properti berubah.

(Diperoleh dari ToolStripItem)
GiveFeedback

Terjadi selama operasi seret.

(Diperoleh dari ToolStripItem)
LocationChanged

Terjadi ketika lokasi diperbarui ToolStripItem .

(Diperoleh dari ToolStripItem)
MouseDown

Terjadi ketika penunjuk mouse berada di atas item dan tombol mouse ditekan.

(Diperoleh dari ToolStripItem)
MouseEnter

Terjadi ketika penunjuk mouse memasuki item.

(Diperoleh dari ToolStripItem)
MouseHover

Terjadi ketika penunjuk mouse mengarah ke item.

(Diperoleh dari ToolStripItem)
MouseLeave

Terjadi ketika penunjuk mouse meninggalkan item.

(Diperoleh dari ToolStripItem)
MouseMove

Terjadi ketika penunjuk mouse dipindahkan ke atas item.

(Diperoleh dari ToolStripItem)
MouseUp

Terjadi ketika penunjuk mouse berada di atas item dan tombol mouse dilepaskan.

(Diperoleh dari ToolStripItem)
OwnerChanged

Terjadi saat Owner properti berubah.

(Diperoleh dari ToolStripItem)
Paint

Terjadi ketika item digambar ulang.

(Diperoleh dari ToolStripItem)
QueryAccessibilityHelp

Terjadi ketika aplikasi klien aksesibilitas memanggil bantuan untuk ToolStripItem.

(Diperoleh dari ToolStripItem)
QueryContinueDrag

Terjadi selama operasi seret dan letakkan dan memungkinkan sumber seret untuk menentukan apakah operasi seret dan letakkan harus dibatalkan.

(Diperoleh dari ToolStripItem)
RightToLeftChanged

Terjadi ketika RightToLeft nilai properti berubah.

(Diperoleh dari ToolStripItem)
SelectedChanged

Menyediakan fungsionalitas dasar untuk kontrol yang menampilkan ToolStripDropDown saat ToolStripDropDownButtonkontrol , , ToolStripMenuItematau ToolStripSplitButton diklik.

(Diperoleh dari ToolStripItem)
TextChanged

Terjadi ketika nilai Text properti berubah.

(Diperoleh dari ToolStripItem)
VisibleChanged

Terjadi ketika nilai Visible properti berubah.

(Diperoleh dari ToolStripItem)

Implementasi Antarmuka Eksplisit

IDropTarget.OnDragDrop(DragEventArgs)

Memunculkan kejadian DragDrop.

(Diperoleh dari ToolStripItem)
IDropTarget.OnDragEnter(DragEventArgs)

Memunculkan kejadian DragEnter.

(Diperoleh dari ToolStripItem)
IDropTarget.OnDragLeave(EventArgs)

Memunculkan kejadian DragLeave.

(Diperoleh dari ToolStripItem)
IDropTarget.OnDragOver(DragEventArgs)

Memunculkan kejadian DragOver.

(Diperoleh dari ToolStripItem)

Berlaku untuk

Lihat juga