ToolStripTextBox ToolStripTextBox ToolStripTextBox ToolStripTextBox Class

Definição

Representa uma caixa de texto em um ToolStrip que permite que o usuário insira um texto.Represents a text box in a ToolStrip that allows the user to enter text.

public ref class ToolStripTextBox : System::Windows::Forms::ToolStripControlHost
[System.Windows.Forms.Design.ToolStripItemDesignerAvailability(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ContextMenuStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.MenuStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip)]
public class ToolStripTextBox : System.Windows.Forms.ToolStripControlHost
type ToolStripTextBox = class
    inherit ToolStripControlHost
Public Class ToolStripTextBox
Inherits ToolStripControlHost
Herança
Atributos

Exemplos

O exemplo de código a seguir ToolStripTextBox demonstra um com várias configurações de propriedade comuns, incluindo opções de preenchimento automático.The following code example demonstrates a ToolStripTextBox with various common property settings, including automatic completion options.

using System;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication2
{
    public class Form1 : Form
    {
        private ToolStrip toolStrip1;
        private ToolStripTextBox toolStripTextBox1;
    
        public Form1()
        {
            InitializeComponent();
        }
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.Run(new Form1());
        }

        private void InitializeComponent()
        {
            toolStrip1 = new System.Windows.Forms.ToolStrip();
            toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
            toolStrip1.SuspendLayout();
            SuspendLayout();
            // 
            // toolStrip1
            // 
            toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            toolStripTextBox1});
            toolStrip1.Location = new System.Drawing.Point(0, 0);
            toolStrip1.Name = "toolStrip1";
            toolStrip1.Size = new System.Drawing.Size(292, 25);
            toolStrip1.TabIndex = 0;
            toolStrip1.Text = "toolStrip1";
            // This code example demonstrates the syntax for setting
            // various ToolStripTextBox properties.
            // 
            toolStripTextBox1.AcceptsReturn = true;
            toolStripTextBox1.AcceptsTab = true;
            toolStripTextBox1.AutoCompleteCustomSource.AddRange(new string[] {
            "This is line one.",
            "Second line.",
            "Another line."});
            toolStripTextBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            toolStripTextBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
            toolStripTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            toolStripTextBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            toolStripTextBox1.HideSelection = false;
            toolStripTextBox1.MaxLength = 32000;
            toolStripTextBox1.Name = "toolStripTextBox1";
            toolStripTextBox1.ShortcutsEnabled = false;
            toolStripTextBox1.Size = new System.Drawing.Size(100, 25);
            toolStripTextBox1.Text = "STRING1\r\nSTRING2\r\nSTRING3\r\nSTRING4";
            toolStripTextBox1.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
            // 
            // Form1
            // 
            ClientSize = new System.Drawing.Size(292, 273);
            Controls.Add(toolStrip1);
            Name = "Form1";
            toolStrip1.ResumeLayout(false);
            toolStrip1.PerformLayout();
            ResumeLayout(false);
            PerformLayout();

        }
    }
}
Imports System.Text
Imports System.Windows.Forms

Public Class Form1
   Inherits Form
   Private toolStrip1 As ToolStrip
   Private toolStripTextBox1 As ToolStripTextBox
   
   Public Sub New()
      InitializeComponent()
   End Sub
   
   <STAThread()>  _
   Shared Sub Main()
      Application.EnableVisualStyles()
      Application.Run(New Form1())
   End Sub
   
   
   Private Sub InitializeComponent()
      toolStrip1 = New System.Windows.Forms.ToolStrip()
      toolStripTextBox1 = New System.Windows.Forms.ToolStripTextBox()
      toolStrip1.SuspendLayout()
      SuspendLayout()
      ' 
      ' toolStrip1
      ' 
      toolStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {toolStripTextBox1})
      toolStrip1.Location = New System.Drawing.Point(0, 0)
      toolStrip1.Name = "toolStrip1"
      toolStrip1.Size = New System.Drawing.Size(292, 25)
      toolStrip1.TabIndex = 0
      toolStrip1.Text = "toolStrip1"
      ' This code example demonstrates the syntax for setting
      ' various ToolStripTextBox properties.
      ' 
      toolStripTextBox1.AcceptsReturn = True
      toolStripTextBox1.AcceptsTab = True
      toolStripTextBox1.AutoCompleteCustomSource.AddRange(New String() {"This is line one.", "Second line.", "Another line."})
      toolStripTextBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
      toolStripTextBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
      toolStripTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
      toolStripTextBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper
      toolStripTextBox1.HideSelection = False
      toolStripTextBox1.MaxLength = 32000
      toolStripTextBox1.Name = "toolStripTextBox1"
      toolStripTextBox1.ShortcutsEnabled = False
      toolStripTextBox1.Size = New System.Drawing.Size(100, 25)
      toolStripTextBox1.Text = "STRING1" + ControlChars.Cr + ControlChars.Lf + "STRING2" + ControlChars.Cr + ControlChars.Lf + "STRING3" + ControlChars.Cr + ControlChars.Lf + "STRING4"
      toolStripTextBox1.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center
      ' 
      ' Form1
      ' 
      ClientSize = New System.Drawing.Size(292, 273)
      Controls.Add(toolStrip1)
      Name = "Form1"
      toolStrip1.ResumeLayout(False)
      toolStrip1.PerformLayout()
      ResumeLayout(False)
      PerformLayout()
   End Sub
End Class

Comentários

ToolStripTextBoxé otimizado para hospedagem em um ToolStrip. TextBoxToolStripTextBox is the TextBox optimized for hosting in a ToolStrip. Um subconjunto das propriedades e dos eventos do controle hospedado é exposto no ToolStripTextBox nível, mas o controle TextBox subjacente é totalmente acessível por meio TextBox da propriedade.A subset of the hosted control's properties and events are exposed at the ToolStripTextBox level, but the underlying TextBox control is fully accessible through the TextBox property.

O ToolStripTextBox controle permite que o usuário insira texto em um aplicativo.The ToolStripTextBox control allows the user to enter text in an application. Esse controle tem funcionalidade adicional que não é encontrada no controle de caixa de texto padrão do Windows, incluindo a edição de várias linhas.This control has additional functionality that is not found in the standard Windows text box control, including multiline editing.

Normalmente, um ToolStripTextBox controle é usado para exibir uma única linha de texto ou aceitá-lo como entrada.Typically, a ToolStripTextBox control is used to display a single line of text or accept it as input. Você pode usar o Multiline para habilitar várias linhas de texto a serem exibidas ou inseridas.You can use the Multiline to enable multiple lines of text to be displayed or entered. Defina as AcceptsTab propriedades AcceptsReturn e como true para permitir maior manipulação de texto em um ToolStripTextBox controle de várias linhas.Set the AcceptsTab and AcceptsReturn properties to true to allow greater text manipulation in a multiline ToolStripTextBox control.

Você pode limitar a quantidade de texto inserido em um ToolStripTextBox controle definindo a MaxLength Propriedade com um número específico de caracteres.You can limit the amount of text entered into a ToolStripTextBox control by setting the MaxLength property to a specific number of characters. Use a CharacterCasing propriedade para permitir que o usuário digite somente letras maiúsculas, apenas minúsculas ou uma combinação de caracteres maiúsculos e minúsculos ToolStripTextBox no controle.Use the CharacterCasing property to allow the user to type only uppercase, only lowercase, or a combination of uppercase and lowercase characters into the ToolStripTextBox control.

Para restringir o texto de ser inserido em ToolStripTextBox um controle, você pode criar um manipulador de eventos KeyDown para o evento a fim de validar cada caractere inserido no controle.To restrict text from being entered in a ToolStripTextBox control, you can create an event handler for the KeyDown event in order to validate each character entered in the control. Você também pode restringir toda a entrada de dados em ToolStripTextBox um controle definindo a ReadOnly Propriedade como true.You can also restrict all entry of data in a ToolStripTextBox control by setting the ReadOnly property to true.

Construtores

ToolStripTextBox() ToolStripTextBox() ToolStripTextBox() ToolStripTextBox()

Inicializa uma nova instância da classe ToolStripTextBox.Initializes a new instance of the ToolStripTextBox class.

ToolStripTextBox(Control) ToolStripTextBox(Control) ToolStripTextBox(Control) ToolStripTextBox(Control)

Inicializa uma nova instância da classe ToolStripTextBox derivada de um controle base.Initializes a new instance of the ToolStripTextBox class derived from a base control.

ToolStripTextBox(String) ToolStripTextBox(String) ToolStripTextBox(String) ToolStripTextBox(String)

Inicializa uma nova instância da classe ToolStripTextBox com o nome especificado.Initializes a new instance of the ToolStripTextBox class with the specified name.

Propriedades

AcceptsReturn AcceptsReturn AcceptsReturn AcceptsReturn

Obtém ou define um valor que indica se pressionar ENTER em um controle TextBox multilinha cria uma nova linha de texto no controle ou ativa o botão padrão para o formulário.Gets or sets a value indicating whether pressing ENTER in a multiline TextBox control creates a new line of text in the control or activates the default button for the form.

AcceptsTab AcceptsTab AcceptsTab AcceptsTab

Obtém ou define um valor que indica se pressionar a tecla TAB em um controle de caixa de texto multilinha digita um caractere TAB no controle em vez de mover o foco para o próximo controle na ordem de tabulação.Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order.

AccessibilityObject AccessibilityObject AccessibilityObject AccessibilityObject

Obtém o AccessibleObject atribuído ao controle.Gets the AccessibleObject assigned to the control.

(Inherited from ToolStripItem)
AccessibleDefaultActionDescription AccessibleDefaultActionDescription AccessibleDefaultActionDescription AccessibleDefaultActionDescription

Obtém ou define a descrição de ação padrão do controle para o uso por aplicativos cliente de acessibilidade.Gets or sets the default action description of the control for use by accessibility client applications.

(Inherited from ToolStripItem)
AccessibleDescription AccessibleDescription AccessibleDescription AccessibleDescription

Obtém ou define a descrição que será relatada para os aplicativos cliente de acessibilidade.Gets or sets the description that will be reported to accessibility client applications.

(Inherited from ToolStripItem)
AccessibleName AccessibleName AccessibleName AccessibleName

Obtém ou define o nome do controle para uso de aplicativos cliente de acessibilidade.Gets or sets the name of the control for use by accessibility client applications.

(Inherited from ToolStripItem)
AccessibleRole AccessibleRole AccessibleRole AccessibleRole

Obtém ou define a função acessível do controle, que especifica o tipo de elemento de interface do usuário do controle.Gets or sets the accessible role of the control, which specifies the type of user interface element of the control.

(Inherited from ToolStripItem)
Alignment Alignment Alignment Alignment

Obtém ou define um valor que indica se o item é alinhado no início ou no final do ToolStrip.Gets or sets a value indicating whether the item aligns towards the beginning or end of the ToolStrip.

(Inherited from ToolStripItem)
AllowDrop AllowDrop AllowDrop AllowDrop

Obtém ou define um valor que indica se a operação do tipo "arrastar e soltar" e a reordenação de itens são manipulados por meio de eventos que você implementou.Gets or sets a value indicating whether drag-and-drop and item reordering are handled through events that you implement.

(Inherited from ToolStripItem)
Anchor Anchor Anchor Anchor

Obtém ou define as bordas do contêiner ao qual um ToolStripItem está vinculado e determina como um ToolStripItem é redimensionado com seu pai.Gets or sets the edges of the container to which a ToolStripItem is bound and determines how a ToolStripItem is resized with its parent.

(Inherited from ToolStripItem)
AutoCompleteCustomSource AutoCompleteCustomSource AutoCompleteCustomSource AutoCompleteCustomSource

Obtém ou define uma coleção de cadeias de caracteres personalizada a ser usada quando a propriedade AutoCompleteSource é definida como CustomSource.Gets or sets a custom string collection to use when the AutoCompleteSource property is set to CustomSource.

AutoCompleteMode AutoCompleteMode AutoCompleteMode AutoCompleteMode

Obtém ou define uma opção que controla como o preenchimento automático funciona para o ToolStripTextBox.Gets or sets an option that controls how automatic completion works for the ToolStripTextBox.

AutoCompleteSource AutoCompleteSource AutoCompleteSource AutoCompleteSource

Obtém ou define um valor que especifica a origem de cadeias de caracteres completas usadas para o preenchimento automático.Gets or sets a value specifying the source of complete strings used for automatic completion.

AutoSize AutoSize AutoSize AutoSize

Obtém ou define um valor que indica se o item é dimensionado automaticamente.Gets or sets a value indicating whether the item is automatically sized.

(Inherited from ToolStripItem)
AutoToolTip AutoToolTip AutoToolTip AutoToolTip

Obtém ou define um valor que indica se a propriedade Text ou a propriedade ToolTipText para dica de ferramenta ToolStripItem deve ser usada.Gets or sets a value indicating whether to use the Text property or the ToolTipText property for the ToolStripItem ToolTip.

(Inherited from ToolStripItem)
Available Available Available Available

Obtém ou define um valor que indica se o ToolStripItem deve ser colocado em um ToolStrip.Gets or sets a value indicating whether the ToolStripItem should be placed on a ToolStrip.

(Inherited from ToolStripItem)
BackColor BackColor BackColor BackColor

Obtém ou define a cor da tela de fundo do controle.Gets or sets the background color for the control.

(Inherited from ToolStripControlHost)
BackgroundImage BackgroundImage BackgroundImage BackgroundImage

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

BackgroundImageLayout BackgroundImageLayout BackgroundImageLayout BackgroundImageLayout

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

BorderStyle BorderStyle BorderStyle BorderStyle

Obtém ou define o tipo de borda do controle ToolStripTextBox.Gets or sets the border type of the ToolStripTextBox control.

Bounds Bounds Bounds Bounds

Obtém o tamanho e o local do item.Gets the size and location of the item.

(Inherited from ToolStripItem)
CanRaiseEvents CanRaiseEvents CanRaiseEvents CanRaiseEvents

Obtém um valor que indica se o componente pode acionar um evento.Gets a value indicating whether the component can raise an event.

(Inherited from Component)
CanSelect CanSelect CanSelect CanSelect

Obtém um valor que indica se o controle pode ser selecionado.Gets a value indicating whether the control can be selected.

(Inherited from ToolStripControlHost)
CanUndo CanUndo CanUndo CanUndo

Obtém um valor que indica se o usuário pode desfazer a operação anterior em um controle ToolStripTextBox.Gets a value indicating whether the user can undo the previous operation in a ToolStripTextBox control.

CausesValidation CausesValidation CausesValidation CausesValidation

Obtém ou define um valor que indica se o controle hospedado causa e aciona eventos de validação em outros controles quando o controle hospedado recebe o foco.Gets or sets a value indicating whether the hosted control causes and raises validation events on other controls when the hosted control receives focus.

(Inherited from ToolStripControlHost)
CharacterCasing CharacterCasing CharacterCasing CharacterCasing

Obtém ou define se o controle ToolStripTextBox modifica as maiúsculas e minúsculas de caracteres quando eles são digitados.Gets or sets whether the ToolStripTextBox control modifies the case of characters as they are typed.

Container Container Container Container

Obtém o IContainer que contém o Component.Gets the IContainer that contains the Component.

(Inherited from Component)
ContentRectangle ContentRectangle ContentRectangle ContentRectangle

Obtém a área na qual o conteúdo, como texto e ícones, pode ser colocado em um ToolStripItem sem substituir as bordas da tela de fundo.Gets the area where content, such as text and icons, can be placed within a ToolStripItem without overwriting background borders.

(Inherited from ToolStripItem)
Control Control Control Control

Obtém o Control que este ToolStripControlHost está hospedando.Gets the Control that this ToolStripControlHost is hosting.

(Inherited from ToolStripControlHost)
ControlAlign ControlAlign ControlAlign ControlAlign

Obtém ou define o alinhamento do controle no formulário.Gets or sets the alignment of the control on the form.

(Inherited from ToolStripControlHost)
DefaultAutoToolTip DefaultAutoToolTip DefaultAutoToolTip DefaultAutoToolTip

Obtém um valor que indica se a ToolTip definida como o padrão será exibida.Gets a value indicating whether to display the ToolTip that is defined as the default.

(Inherited from ToolStripItem)
DefaultDisplayStyle DefaultDisplayStyle DefaultDisplayStyle DefaultDisplayStyle

Obtém um valor que indica o que é exibido no ToolStripItem.Gets a value indicating what is displayed on the ToolStripItem.

(Inherited from ToolStripItem)
DefaultMargin DefaultMargin DefaultMargin DefaultMargin

Obtém o espaçamento, em pixels, entre o ToolStripTextBox e os itens adjacentes.Gets the spacing, in pixels, between the ToolStripTextBox and adjacent items.

DefaultPadding DefaultPadding DefaultPadding DefaultPadding

Obtém as características de espaçamento interno do item.Gets the internal spacing characteristics of the item.

(Inherited from ToolStripItem)
DefaultSize DefaultSize DefaultSize DefaultSize

Obtém o tamanho padrão do ToolStripTextBox.Gets the default size of the ToolStripTextBox.

DesignMode DesignMode DesignMode DesignMode

Obtém um valor que indica se o Component está no modo de design no momento.Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
DismissWhenClicked DismissWhenClicked DismissWhenClicked DismissWhenClicked

Obtém um valor que indica se os itens de um ToolStripDropDown ficam ocultos depois que recebem um clique.Gets a value indicating whether items on a ToolStripDropDown are hidden after they are clicked.

(Inherited from ToolStripItem)
DisplayStyle DisplayStyle DisplayStyle DisplayStyle

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
Dock Dock Dock Dock

Obtém ou define quais bordas de ToolStripItem são encaixadas em seu controle pai e determina como uma ToolStripItem é redimensionada com seu pai.Gets or sets which ToolStripItem borders are docked to its parent control and determines how a ToolStripItem is resized with its parent.

(Inherited from ToolStripItem)
DoubleClickEnabled DoubleClickEnabled DoubleClickEnabled DoubleClickEnabled

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
Enabled Enabled Enabled Enabled

Obtém ou define um valor que indica se o controle pai do ToolStripItem está habilitado.Gets or sets a value indicating whether the parent control of the ToolStripItem is enabled.

(Inherited from ToolStripControlHost)
Events Events Events Events

Obtém a lista de manipuladores de eventos que estão anexados a este Component.Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
Focused Focused Focused Focused

Obtém um valor que indica se o controle tem foco de entrada.Gets a value indicating whether the control has input focus.

(Inherited from ToolStripControlHost)
Font Font Font Font

Obtém ou define a fonte a ser usada no controle hospedado.Gets or sets the font to be used on the hosted control.

(Inherited from ToolStripControlHost)
ForeColor ForeColor ForeColor ForeColor

Obtém ou define a cor de primeiro plano do controle hospedado.Gets or sets the foreground color of the hosted control.

(Inherited from ToolStripControlHost)
Height Height Height Height

Obtém ou define a altura, em pixels, de um ToolStripItem.Gets or sets the height, in pixels, of a ToolStripItem.

(Inherited from ToolStripItem)
HideSelection HideSelection HideSelection HideSelection

Obtém ou define um valor que indica se o texto selecionado no controle de caixa de texto permanece realçado quando o controle perde o foco.Gets or sets a value indicating whether the selected text in the text box control remains highlighted when the control loses focus.

Image Image Image Image

A imagem associada ao objeto.The image associated with the object.

(Inherited from ToolStripControlHost)
ImageAlign ImageAlign ImageAlign ImageAlign

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
ImageIndex ImageIndex ImageIndex ImageIndex

Obtém ou define o valor do índice da imagem que é exibido no item.Gets or sets the index value of the image that is displayed on the item.

(Inherited from ToolStripItem)
ImageKey ImageKey ImageKey ImageKey

Obtém ou define o acessador de chave para a imagem na ImageList que é exibido em um ToolStripItem.Gets or sets the key accessor for the image in the ImageList that is displayed on a ToolStripItem.

(Inherited from ToolStripItem)
ImageScaling ImageScaling ImageScaling ImageScaling

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
ImageTransparentColor ImageTransparentColor ImageTransparentColor ImageTransparentColor

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
IsDisposed IsDisposed IsDisposed IsDisposed

Obtém um valor que indica se o objeto foi descartado.Gets a value indicating whether the object has been disposed of.

(Inherited from ToolStripItem)
IsOnDropDown IsOnDropDown IsOnDropDown IsOnDropDown

Obtém um valor que indica se o contêiner do Control atual é um ToolStripDropDown.Gets a value indicating whether the container of the current Control is a ToolStripDropDown.

(Inherited from ToolStripItem)
IsOnOverflow IsOnOverflow IsOnOverflow IsOnOverflow

Obtém um valor que indica se a propriedade Placement foi definida como Overflow.Gets a value indicating whether the Placement property is set to Overflow.

(Inherited from ToolStripItem)
Lines Lines Lines Lines

Obtém ou define as linhas de texto em um controle ToolStripTextBox.Gets or sets the lines of text in a ToolStripTextBox control.

Margin Margin Margin Margin

Obtém ou define o espaço entre o item e os itens adjacentes.Gets or sets the space between the item and adjacent items.

(Inherited from ToolStripItem)
MaxLength MaxLength MaxLength MaxLength

Obtém ou define o número máximo de caracteres que o usuário pode digitar ou colar no controle de caixa de texto.Gets or sets the maximum number of characters the user can type or paste into the text box control.

MergeAction MergeAction MergeAction MergeAction

Obtém ou define como os menus filho são mescladas com menus pai.Gets or sets how child menus are merged with parent menus.

(Inherited from ToolStripItem)
MergeIndex MergeIndex MergeIndex MergeIndex

Obtém ou define a posição de um item mesclado no ToolStrip atual.Gets or sets the position of a merged item within the current ToolStrip.

(Inherited from ToolStripItem)
Modified Modified Modified Modified

Obtém ou define um valor que indica que o controle ToolStripTextBox foi modificado pelo usuário desde que o controle foi criado ou que seu conteúdo foi definido pela última vez.Gets or sets a value that indicates that the ToolStripTextBox control has been modified by the user since the control was created or its contents were last set.

Multiline Multiline Multiline Multiline

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

Name Name Name Name

Obtém ou define o nome do item.Gets or sets the name of the item.

(Inherited from ToolStripItem)
Overflow Overflow Overflow Overflow

Obtém ou define se o item é anexado ao ToolStrip ou ao ToolStripOverflowButton ou se ele pode flutuar entre os dois.Gets or sets whether the item is attached to the ToolStrip or ToolStripOverflowButton or can float between the two.

(Inherited from ToolStripItem)
Owner Owner Owner Owner

Obtém ou define o proprietário desse item.Gets or sets the owner of this item.

(Inherited from ToolStripItem)
OwnerItem OwnerItem OwnerItem OwnerItem

Obtém o pai ToolStripItem desse ToolStripItem.Gets the parent ToolStripItem of this ToolStripItem.

(Inherited from ToolStripItem)
Padding Padding Padding Padding

Obtém ou define o espaçamento interno, em pixels, entre o conteúdo do item e suas bordas.Gets or sets the internal spacing, in pixels, between the item's contents and its edges.

(Inherited from ToolStripItem)
Parent Parent Parent Parent

Obtém ou define o contêiner pai do ToolStripItem.Gets or sets the parent container of the ToolStripItem.

(Inherited from ToolStripItem)
Placement Placement Placement Placement

Obtém o layout atual do item.Gets the current layout of the item.

(Inherited from ToolStripItem)
Pressed Pressed Pressed Pressed

Obtém um valor que indica se o estado do item é pressionado.Gets a value indicating whether the state of the item is pressed.

(Inherited from ToolStripItem)
ReadOnly ReadOnly ReadOnly ReadOnly

Obtém ou define um valor que indica se o texto em ToolStripTextBox é somente leitura.Gets or sets a value indicating whether text in the ToolStripTextBox is read-only.

RightToLeft RightToLeft RightToLeft RightToLeft

Obtém ou define um valor que indica se os elementos do controle estão alinhados para dar suporte a localidades que usam fontes da direita para a esquerda.Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

(Inherited from ToolStripControlHost)
RightToLeftAutoMirrorImage RightToLeftAutoMirrorImage RightToLeftAutoMirrorImage RightToLeftAutoMirrorImage

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
Selected Selected Selected Selected

Obtém um valor que indica se o item está selecionado.Gets a value indicating whether the item is selected.

(Inherited from ToolStripControlHost)
SelectedText SelectedText SelectedText SelectedText

Obtém ou define um valor que indica o texto selecionado atualmente no controle.Gets or sets a value indicating the currently selected text in the control.

SelectionLength SelectionLength SelectionLength SelectionLength

Obtém ou define o número de caracteres selecionados no ToolStripTextBox.Gets or sets the number of characters selected in the ToolStripTextBox.

SelectionStart SelectionStart SelectionStart SelectionStart

Obtém ou define o ponto inicial do texto selecionado em ToolStripTextBox.Gets or sets the starting point of text selected in the ToolStripTextBox.

ShortcutsEnabled ShortcutsEnabled ShortcutsEnabled ShortcutsEnabled

Obtém ou define um valor que indica se os atalhos definidos estão habilitados.Gets or sets a value indicating whether the defined shortcuts are enabled.

ShowKeyboardCues ShowKeyboardCues ShowKeyboardCues ShowKeyboardCues

Obtém um valor que indica se as teclas de atalho devem ser mostradas ou ocultas.Gets a value indicating whether to show or hide shortcut keys.

(Inherited from ToolStripItem)
Site Site Site Site

Obtém ou define o site do controle hospedado.Gets or sets the site of the hosted control.

(Inherited from ToolStripControlHost)
Size Size Size Size

Obtém ou define o tamanho do ToolStripItem.Gets or sets the size of the ToolStripItem.

(Inherited from ToolStripControlHost)
Tag Tag Tag Tag

Obtém ou define o objeto que contém dados sobre o item.Gets or sets the object that contains data about the item.

(Inherited from ToolStripItem)
Text Text Text Text

Obtém ou define o texto a ser exibido no controle hospedado.Gets or sets the text to be displayed on the hosted control.

(Inherited from ToolStripControlHost)
TextAlign TextAlign TextAlign TextAlign

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
TextBox TextBox TextBox TextBox

Obtém o controle TextBox hospedado.Gets the hosted TextBox control.

TextBoxTextAlign TextBoxTextAlign TextBoxTextAlign TextBoxTextAlign

Obtém ou define o alinhamento do texto em um controle TextBox.Gets or sets how text is aligned in a TextBox control.

TextDirection TextDirection TextDirection TextDirection

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
TextImageRelation TextImageRelation TextImageRelation TextImageRelation

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

(Inherited from ToolStripControlHost)
TextLength TextLength TextLength TextLength

Obtém o comprimento do texto no controle.Gets the length of text in the control.

ToolTipText ToolTipText ToolTipText ToolTipText

Obtém ou define o texto exibido como ToolTip para um controle.Gets or sets the text that appears as a ToolTip for a control.

(Inherited from ToolStripItem)
Visible Visible Visible Visible

Obtém ou define um valor que indica se o item é exibido.Gets or sets a value indicating whether the item is displayed.

(Inherited from ToolStripItem)
Width Width Width Width

Obtém ou define a largura em pixels de um ToolStripItem.Gets or sets the width in pixels of a ToolStripItem.

(Inherited from ToolStripItem)
WordWrap WordWrap WordWrap WordWrap

Essa propriedade não é relevante para essa classe.This property is not relevant to this class.

Métodos

AppendText(String) AppendText(String) AppendText(String) AppendText(String)

Acrescenta texto ao texto atual de ToolStripTextBox.Appends text to the current text of the ToolStripTextBox.

Clear() Clear() Clear() Clear()

Apaga todo o texto do controle ToolStripTextBox.Clears all text from the ToolStripTextBox control.

ClearUndo() ClearUndo() ClearUndo() ClearUndo()

Apaga informações sobre a operação mais recente do buffer de desfazer do ToolStripTextBox.Clears information about the most recent operation from the undo buffer of the ToolStripTextBox.

Copy() Copy() Copy() Copy()

Copia a seleção atual em ToolStripTextBox para a área de transferência.Copies the current selection in the ToolStripTextBox to the Clipboard.

CreateAccessibilityInstance() CreateAccessibilityInstance() CreateAccessibilityInstance() CreateAccessibilityInstance()

Cria um novo objeto de acessibilidade para o controle.Creates a new accessibility object for the control.

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

Cria um objeto que contém todas as informações relevantes necessárias para gerar um proxy usado para se comunicar com um objeto remoto.Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Cut() Cut() Cut() Cut()

Move a seleção atual em ToolStripTextBox para a área de transferência.Moves the current selection in the ToolStripTextBox to the Clipboard.

DeselectAll() DeselectAll() DeselectAll() DeselectAll()

Especifica que o valor da propriedade SelectionLength é zero, para que nenhum caractere seja selecionado no controle.Specifies that the value of the SelectionLength property is zero so that no characters are selected in the control.

Dispose() Dispose() Dispose() Dispose()

Libera todos os recursos usados pelo Component.Releases all resources used by the Component.

(Inherited from Component)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Libera os recursos não gerenciados usados pelo ToolStripControlHost e opcionalmente libera os recursos gerenciados.Releases the unmanaged resources used by the ToolStripControlHost and optionally releases the managed resources.

(Inherited from ToolStripControlHost)
DoDragDrop(Object, DragDropEffects) DoDragDrop(Object, DragDropEffects) DoDragDrop(Object, DragDropEffects) DoDragDrop(Object, DragDropEffects)

Começa uma operação de arrastar e soltar.Begins a drag-and-drop operation.

(Inherited from ToolStripItem)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
Focus() Focus() Focus() Focus()

Fornece o foco para um controle.Gives the focus to a control.

(Inherited from ToolStripControlHost)
GetCharFromPosition(Point) GetCharFromPosition(Point) GetCharFromPosition(Point) GetCharFromPosition(Point)

Recupera o caractere que está mais próximo do local especificado no controle.Retrieves the character that is closest to the specified location within the control.

GetCharIndexFromPosition(Point) GetCharIndexFromPosition(Point) GetCharIndexFromPosition(Point) GetCharIndexFromPosition(Point)

Recupera o índice do caractere mais próximo ao local especificado.Retrieves the index of the character nearest to the specified location.

GetCurrentParent() GetCurrentParent() GetCurrentParent() GetCurrentParent()

Recupera o ToolStrip que é o contêiner do ToolStripItem atual.Retrieves the ToolStrip that is the container of the current ToolStripItem.

(Inherited from ToolStripItem)
GetFirstCharIndexFromLine(Int32) GetFirstCharIndexFromLine(Int32) GetFirstCharIndexFromLine(Int32) GetFirstCharIndexFromLine(Int32)

Recupera o índice do primeiro caractere de uma determinada linha.Retrieves the index of the first character of a given line.

GetFirstCharIndexOfCurrentLine() GetFirstCharIndexOfCurrentLine() GetFirstCharIndexOfCurrentLine() GetFirstCharIndexOfCurrentLine()

Recupera o índice do primeiro caractere da linha atual.Retrieves the index of the first character of the current line.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Recupera o objeto de serviço de tempo de vida atual que controla a política de ciclo de vida para esta instância.Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetLineFromCharIndex(Int32) GetLineFromCharIndex(Int32) GetLineFromCharIndex(Int32) GetLineFromCharIndex(Int32)

Recupera o número de linha da posição de caractere especificada no texto do controle.Retrieves the line number from the specified character position within the text of the control.

GetPositionFromCharIndex(Int32) GetPositionFromCharIndex(Int32) GetPositionFromCharIndex(Int32) GetPositionFromCharIndex(Int32)

Recupera o local dentro do controle no índice de caractere especificado.Retrieves the location within the control at the specified character index.

GetPreferredSize(Size) GetPreferredSize(Size) GetPreferredSize(Size) GetPreferredSize(Size)

Recupera o tamanho de uma área retangular na qual um controle pode ser ajustado.Retrieves the size of a rectangular area into which a control can be fitted.

GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Retorna um objeto que representa um serviço fornecido pelo Component ou pelo seu Container.Returns an object that represents a service provided by the Component or by its Container.

(Inherited from Component)
GetType() GetType() GetType() GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

Obtém um objeto de serviço de tempo de vida para controlar a política de tempo de vida para essa instância.Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
Invalidate() Invalidate() Invalidate() Invalidate()

Invalida a superfície inteira do ToolStripItem e faz com que ele seja redesenhado.Invalidates the entire surface of the ToolStripItem and causes it to be redrawn.

(Inherited from ToolStripItem)
Invalidate(Rectangle) Invalidate(Rectangle) Invalidate(Rectangle) Invalidate(Rectangle)

Invalida a região especificada do ToolStripItem adicionando-a à região de atualização do ToolStripItem, que é a área que será repintada na próxima operação de pintura e envia uma mensagem sobre a pintura ao ToolStripItem.Invalidates the specified region of the ToolStripItem by adding it to the update region of the ToolStripItem, which is the area that will be repainted at the next paint operation, and causes a paint message to be sent to the ToolStripItem.

(Inherited from ToolStripItem)
IsInputChar(Char) IsInputChar(Char) IsInputChar(Char) IsInputChar(Char)

Determina se um caractere é um caractere de entrada reconhecido pelo item.Determines whether a character is an input character that the item recognizes.

(Inherited from ToolStripItem)
IsInputKey(Keys) IsInputKey(Keys) IsInputKey(Keys) IsInputKey(Keys)

Determina se a chave especificada é uma chave de entrada regular ou uma chave especial que exige o pré-processamento.Determines whether the specified key is a regular input key or a special key that requires preprocessing.

(Inherited from ToolStripItem)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Cria uma cópia superficial do objeto MarshalByRefObject atual.Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
OnAcceptsTabChanged(EventArgs) OnAcceptsTabChanged(EventArgs) OnAcceptsTabChanged(EventArgs) OnAcceptsTabChanged(EventArgs)

Aciona o evento AcceptsTabChanged.Raises the AcceptsTabChanged event.

OnAvailableChanged(EventArgs) OnAvailableChanged(EventArgs) OnAvailableChanged(EventArgs) OnAvailableChanged(EventArgs)

Aciona o evento AvailableChanged.Raises the AvailableChanged event.

(Inherited from ToolStripItem)
OnBackColorChanged(EventArgs) OnBackColorChanged(EventArgs) OnBackColorChanged(EventArgs) OnBackColorChanged(EventArgs)

Aciona o evento BackColorChanged.Raises the BackColorChanged event.

(Inherited from ToolStripItem)
OnBorderStyleChanged(EventArgs) OnBorderStyleChanged(EventArgs) OnBorderStyleChanged(EventArgs) OnBorderStyleChanged(EventArgs)

Aciona o evento BorderStyleChanged.Raises the BorderStyleChanged event.

OnBoundsChanged() OnBoundsChanged() OnBoundsChanged() OnBoundsChanged()

Ocorre quando a propriedade Bounds muda.Occurs when the Bounds property changes.

(Inherited from ToolStripControlHost)
OnClick(EventArgs) OnClick(EventArgs) OnClick(EventArgs) OnClick(EventArgs)

Aciona o evento Click.Raises the Click event.

(Inherited from ToolStripItem)
OnDisplayStyleChanged(EventArgs) OnDisplayStyleChanged(EventArgs) OnDisplayStyleChanged(EventArgs) OnDisplayStyleChanged(EventArgs)

Aciona o evento DisplayStyleChanged.Raises the DisplayStyleChanged event.

(Inherited from ToolStripItem)
OnDoubleClick(EventArgs) OnDoubleClick(EventArgs) OnDoubleClick(EventArgs) OnDoubleClick(EventArgs)

Aciona o evento DoubleClick.Raises the DoubleClick event.

(Inherited from ToolStripItem)
OnDragDrop(DragEventArgs) OnDragDrop(DragEventArgs) OnDragDrop(DragEventArgs) OnDragDrop(DragEventArgs)

Aciona o evento DragDrop.Raises the DragDrop event.

(Inherited from ToolStripItem)
OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs) OnDragEnter(DragEventArgs)

Aciona o evento DragEnter.Raises the DragEnter event.

(Inherited from ToolStripItem)
OnDragLeave(EventArgs) OnDragLeave(EventArgs) OnDragLeave(EventArgs) OnDragLeave(EventArgs)

Aciona o evento DragLeave.Raises the DragLeave event.

(Inherited from ToolStripItem)
OnDragOver(DragEventArgs) OnDragOver(DragEventArgs) OnDragOver(DragEventArgs) OnDragOver(DragEventArgs)

Aciona o evento DragOver.Raises the DragOver event.

(Inherited from ToolStripItem)
OnEnabledChanged(EventArgs) OnEnabledChanged(EventArgs) OnEnabledChanged(EventArgs) OnEnabledChanged(EventArgs)

Aciona o evento EnabledChanged.Raises the EnabledChanged event.

(Inherited from ToolStripItem)
OnEnter(EventArgs) OnEnter(EventArgs) OnEnter(EventArgs) OnEnter(EventArgs)

Aciona o evento Enter.Raises the Enter event.

(Inherited from ToolStripControlHost)
OnFontChanged(EventArgs) OnFontChanged(EventArgs) OnFontChanged(EventArgs) OnFontChanged(EventArgs)

Aciona o evento FontChanged.Raises the FontChanged event.

(Inherited from ToolStripItem)
OnForeColorChanged(EventArgs) OnForeColorChanged(EventArgs) OnForeColorChanged(EventArgs) OnForeColorChanged(EventArgs)

Aciona o evento ForeColorChanged.Raises the ForeColorChanged event.

(Inherited from ToolStripItem)
OnGiveFeedback(GiveFeedbackEventArgs) OnGiveFeedback(GiveFeedbackEventArgs) OnGiveFeedback(GiveFeedbackEventArgs) OnGiveFeedback(GiveFeedbackEventArgs)

Aciona o evento GiveFeedback.Raises the GiveFeedback event.

(Inherited from ToolStripItem)
OnGotFocus(EventArgs) OnGotFocus(EventArgs) OnGotFocus(EventArgs) OnGotFocus(EventArgs)

Aciona o evento GotFocus.Raises the GotFocus event.

(Inherited from ToolStripControlHost)
OnHideSelectionChanged(EventArgs) OnHideSelectionChanged(EventArgs) OnHideSelectionChanged(EventArgs) OnHideSelectionChanged(EventArgs)

Aciona o evento HideSelectionChanged.Raises the HideSelectionChanged event.

OnHostedControlResize(EventArgs) OnHostedControlResize(EventArgs) OnHostedControlResize(EventArgs) OnHostedControlResize(EventArgs)

Sincroniza o redimensionamento do host do controle com o redimensionamento do controle hospedado.Synchronizes the resizing of the control host with the resizing of the hosted control.

(Inherited from ToolStripControlHost)
OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs) OnKeyDown(KeyEventArgs)

Aciona o evento KeyDown.Raises the KeyDown event.

(Inherited from ToolStripControlHost)
OnKeyPress(KeyPressEventArgs) OnKeyPress(KeyPressEventArgs) OnKeyPress(KeyPressEventArgs) OnKeyPress(KeyPressEventArgs)

Aciona o evento KeyPress.Raises the KeyPress event.

(Inherited from ToolStripControlHost)
OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs) OnKeyUp(KeyEventArgs)

Aciona o evento KeyUp.Raises the KeyUp event.

(Inherited from ToolStripControlHost)
OnLayout(LayoutEventArgs) OnLayout(LayoutEventArgs) OnLayout(LayoutEventArgs) OnLayout(LayoutEventArgs)

Aciona o evento Layout.Raises the Layout event.

(Inherited from ToolStripControlHost)
OnLeave(EventArgs) OnLeave(EventArgs) OnLeave(EventArgs) OnLeave(EventArgs)

Aciona o evento Leave.Raises the Leave event.

(Inherited from ToolStripControlHost)
OnLocationChanged(EventArgs) OnLocationChanged(EventArgs) OnLocationChanged(EventArgs) OnLocationChanged(EventArgs)

Aciona o evento LocationChanged.Raises the LocationChanged event.

(Inherited from ToolStripItem)
OnLostFocus(EventArgs) OnLostFocus(EventArgs) OnLostFocus(EventArgs) OnLostFocus(EventArgs)

Aciona o evento LostFocus.Raises the LostFocus event.

(Inherited from ToolStripControlHost)
OnModifiedChanged(EventArgs) OnModifiedChanged(EventArgs) OnModifiedChanged(EventArgs) OnModifiedChanged(EventArgs)

Aciona o evento ModifiedChanged.Raises the ModifiedChanged event.

OnMouseDown(MouseEventArgs) OnMouseDown(MouseEventArgs) OnMouseDown(MouseEventArgs) OnMouseDown(MouseEventArgs)

Aciona o evento MouseDown.Raises the MouseDown event.

(Inherited from ToolStripItem)
OnMouseEnter(EventArgs) OnMouseEnter(EventArgs) OnMouseEnter(EventArgs) OnMouseEnter(EventArgs)

Aciona o evento MouseEnter.Raises the MouseEnter event.

(Inherited from ToolStripItem)
OnMouseHover(EventArgs) OnMouseHover(EventArgs) OnMouseHover(EventArgs) OnMouseHover(EventArgs)

Aciona o evento MouseHover.Raises the MouseHover event.

(Inherited from ToolStripItem)
OnMouseLeave(EventArgs) OnMouseLeave(EventArgs) OnMouseLeave(EventArgs) OnMouseLeave(EventArgs)

Aciona o evento MouseLeave.Raises the MouseLeave event.

(Inherited from ToolStripItem)
OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs) OnMouseMove(MouseEventArgs)

Aciona o evento MouseMove.Raises the MouseMove event.

(Inherited from ToolStripItem)
OnMouseUp(MouseEventArgs) OnMouseUp(MouseEventArgs) OnMouseUp(MouseEventArgs) OnMouseUp(MouseEventArgs)

Aciona o evento MouseUp.Raises the MouseUp event.

(Inherited from ToolStripItem)
OnMultilineChanged(EventArgs) OnMultilineChanged(EventArgs) OnMultilineChanged(EventArgs) OnMultilineChanged(EventArgs)

Aciona o evento MultilineChanged.Raises the MultilineChanged event.

OnOwnerChanged(EventArgs) OnOwnerChanged(EventArgs) OnOwnerChanged(EventArgs) OnOwnerChanged(EventArgs)

Aciona o evento OwnerChanged.Raises the OwnerChanged event.

(Inherited from ToolStripItem)
OnOwnerFontChanged(EventArgs) OnOwnerFontChanged(EventArgs) OnOwnerFontChanged(EventArgs) OnOwnerFontChanged(EventArgs)

Aciona o evento FontChanged quando a propriedade Font foi alterada no pai do ToolStripItem.Raises the FontChanged event when the Font property has changed on the parent of the ToolStripItem.

(Inherited from ToolStripItem)
OnPaint(PaintEventArgs) OnPaint(PaintEventArgs) OnPaint(PaintEventArgs) OnPaint(PaintEventArgs)

Aciona o evento Paint.Raises the Paint event.

(Inherited from ToolStripControlHost)
OnParentBackColorChanged(EventArgs) OnParentBackColorChanged(EventArgs) OnParentBackColorChanged(EventArgs) OnParentBackColorChanged(EventArgs)

Aciona o evento BackColorChanged.Raises the BackColorChanged event.

(Inherited from ToolStripItem)
OnParentChanged(ToolStrip, ToolStrip) OnParentChanged(ToolStrip, ToolStrip) OnParentChanged(ToolStrip, ToolStrip) OnParentChanged(ToolStrip, ToolStrip)

Aciona o evento ParentChanged.Raises the ParentChanged event.

(Inherited from ToolStripControlHost)
OnParentEnabledChanged(EventArgs) OnParentEnabledChanged(EventArgs) OnParentEnabledChanged(EventArgs) OnParentEnabledChanged(EventArgs)

Aciona o evento EnabledChanged quando o valor da propriedade Enabled do contêiner do item é alterado.Raises the EnabledChanged event when the Enabled property value of the item's container changes.

(Inherited from ToolStripItem)
OnParentForeColorChanged(EventArgs) OnParentForeColorChanged(EventArgs) OnParentForeColorChanged(EventArgs) OnParentForeColorChanged(EventArgs)

Aciona o evento ForeColorChanged.Raises the ForeColorChanged event.

(Inherited from ToolStripItem)
OnParentRightToLeftChanged(EventArgs) OnParentRightToLeftChanged(EventArgs) OnParentRightToLeftChanged(EventArgs) OnParentRightToLeftChanged(EventArgs)

Aciona o evento RightToLeftChanged.Raises the RightToLeftChanged event.

(Inherited from ToolStripItem)
OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs) OnQueryContinueDrag(QueryContinueDragEventArgs)

Aciona o evento QueryContinueDrag.Raises the QueryContinueDrag event.

(Inherited from ToolStripItem)
OnReadOnlyChanged(EventArgs) OnReadOnlyChanged(EventArgs) OnReadOnlyChanged(EventArgs) OnReadOnlyChanged(EventArgs)

Aciona o evento ReadOnlyChanged.Raises the ReadOnlyChanged event.

OnRightToLeftChanged(EventArgs) OnRightToLeftChanged(EventArgs) OnRightToLeftChanged(EventArgs) OnRightToLeftChanged(EventArgs)

Aciona o evento RightToLeftChanged.Raises the RightToLeftChanged event.

(Inherited from ToolStripItem)
OnSubscribeControlEvents(Control) OnSubscribeControlEvents(Control) OnSubscribeControlEvents(Control) OnSubscribeControlEvents(Control)

Assina eventos do controle hospedado.Subscribes events from the hosted control.

OnTextChanged(EventArgs) OnTextChanged(EventArgs) OnTextChanged(EventArgs) OnTextChanged(EventArgs)

Aciona o evento TextChanged.Raises the TextChanged event.

(Inherited from ToolStripItem)
OnUnsubscribeControlEvents(Control) OnUnsubscribeControlEvents(Control) OnUnsubscribeControlEvents(Control) OnUnsubscribeControlEvents(Control)

Cancela a assinatura de eventos do controle hospedado.Unsubscribes events from the hosted control.

OnValidated(EventArgs) OnValidated(EventArgs) OnValidated(EventArgs) OnValidated(EventArgs)

Aciona o evento Validated.Raises the Validated event.

(Inherited from ToolStripControlHost)
OnValidating(CancelEventArgs) OnValidating(CancelEventArgs) OnValidating(CancelEventArgs) OnValidating(CancelEventArgs)

Aciona o evento Validating.Raises the Validating event.

(Inherited from ToolStripControlHost)
OnVisibleChanged(EventArgs) OnVisibleChanged(EventArgs) OnVisibleChanged(EventArgs) OnVisibleChanged(EventArgs)

Aciona o evento VisibleChanged.Raises the VisibleChanged event.

(Inherited from ToolStripItem)
Paste() Paste() Paste() Paste()

Substitui a seleção atual na caixa de texto com o conteúdo da área de transferência.Replaces the current selection in the text box with the contents of the Clipboard.

PerformClick() PerformClick() PerformClick() PerformClick()

Gera um evento Click para um ToolStripItem.Generates a Click event for a ToolStripItem.

(Inherited from ToolStripItem)
ProcessCmdKey(Message, Keys) ProcessCmdKey(Message, Keys) ProcessCmdKey(Message, Keys) ProcessCmdKey(Message, Keys)

Processa uma chave de comando.Processes a command key.

(Inherited from ToolStripControlHost)
ProcessDialogKey(Keys) ProcessDialogKey(Keys) ProcessDialogKey(Keys) ProcessDialogKey(Keys)

Processa uma chave de caixa de diálogo.Processes a dialog key.

(Inherited from ToolStripControlHost)
ProcessMnemonic(Char) ProcessMnemonic(Char) ProcessMnemonic(Char) ProcessMnemonic(Char)

Processa um caractere mnemônico.Processes a mnemonic character.

(Inherited from ToolStripControlHost)
ResetBackColor() ResetBackColor() ResetBackColor() ResetBackColor()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripControlHost)
ResetDisplayStyle() ResetDisplayStyle() ResetDisplayStyle() ResetDisplayStyle()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripItem)
ResetFont() ResetFont() ResetFont() ResetFont()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripItem)
ResetForeColor() ResetForeColor() ResetForeColor() ResetForeColor()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripControlHost)
ResetImage() ResetImage() ResetImage() ResetImage()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripItem)
ResetMargin() ResetMargin() ResetMargin() ResetMargin()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripItem)
ResetPadding() ResetPadding() ResetPadding() ResetPadding()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripItem)
ResetRightToLeft() ResetRightToLeft() ResetRightToLeft() ResetRightToLeft()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripItem)
ResetTextDirection() ResetTextDirection() ResetTextDirection() ResetTextDirection()

Esse método não é relevante para essa classe.This method is not relevant to this class.

(Inherited from ToolStripItem)
ScrollToCaret() ScrollToCaret() ScrollToCaret() ScrollToCaret()

Rola o conteúdo do controle para a posição atual do cursor.Scrolls the contents of the control to the current caret position.

Select() Select() Select() Select()

Seleciona o item.Selects the item.

(Inherited from ToolStripItem)
Select(Int32, Int32) Select(Int32, Int32) Select(Int32, Int32) Select(Int32, Int32)

Seleciona um intervalo de texto na caixa de texto.Selects a range of text in the text box.

SelectAll() SelectAll() SelectAll() SelectAll()

Seleciona todo o texto na caixa de texto.Selects all text in the text box.

SetBounds(Rectangle) SetBounds(Rectangle) SetBounds(Rectangle) SetBounds(Rectangle)

Define o tamanho e o local do item.Sets the size and location of the item.

(Inherited from ToolStripItem)
SetVisibleCore(Boolean) SetVisibleCore(Boolean) SetVisibleCore(Boolean) SetVisibleCore(Boolean)

Define o ToolStripItem para o estado de visibilidade especificado.Sets the ToolStripItem to the specified visible state.

(Inherited from ToolStripControlHost)
ToString() ToString() ToString() ToString()

Retorna um String que contém o nome do Component, se houver.Returns a String containing the name of the Component, if any. Esse método não deve ser substituído.This method should not be overridden.

(Inherited from ToolStripItem)
Undo() Undo() Undo() Undo()

Desfaz a última operação de edição na caixa de texto.Undoes the last edit operation in the text box.

Eventos

AcceptsTabChanged AcceptsTabChanged AcceptsTabChanged AcceptsTabChanged

Ocorre quando o valor da propriedade AcceptsTab muda.Occurs when the value of the AcceptsTab property changes.

AvailableChanged AvailableChanged AvailableChanged AvailableChanged

Ocorre quando o valor da propriedade Available muda.Occurs when the value of the Available property changes.

(Inherited from ToolStripItem)
BackColorChanged BackColorChanged BackColorChanged BackColorChanged

Ocorre quando o valor da propriedade BackColor muda.Occurs when the value of the BackColor property changes.

(Inherited from ToolStripItem)
BorderStyleChanged BorderStyleChanged BorderStyleChanged BorderStyleChanged

Ocorre quando o valor da propriedade BorderStyle muda.Occurs when the value of the BorderStyle property changes.

Click Click Click Click

Ocorre quando o ToolStripItem é clicado.Occurs when the ToolStripItem is clicked.

(Inherited from ToolStripItem)
DisplayStyleChanged DisplayStyleChanged DisplayStyleChanged DisplayStyleChanged

Esse evento não é relevante para essa classe.This event is not relevant to this class.

(Inherited from ToolStripControlHost)
Disposed Disposed Disposed Disposed

Ocorre quando o componente é disposto por uma chamada para o método Dispose().Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)
DoubleClick DoubleClick DoubleClick DoubleClick

Ocorre quando o item recebe dois cliques com o mouse.Occurs when the item is double-clicked with the mouse.

(Inherited from ToolStripItem)
DragDrop DragDrop DragDrop DragDrop

Ocorre quando o usuário arrasta um item e libera o botão do mouse, indicando que o item deve ser solto nesse item.Occurs when the user drags an item and the user releases the mouse button, indicating that the item should be dropped into this item.

(Inherited from ToolStripItem)
DragEnter DragEnter DragEnter DragEnter

Ocorre quando o usuário arrasta um item para a área de cliente desse item.Occurs when the user drags an item into the client area of this item.

(Inherited from ToolStripItem)
DragLeave DragLeave DragLeave DragLeave

Ocorre quando o usuário arrasta um item e o ponteiro do mouse não está mais na área de cliente desse item.Occurs when the user drags an item and the mouse pointer is no longer over the client area of this item.

(Inherited from ToolStripItem)
DragOver DragOver DragOver DragOver

Ocorre quando o usuário arrasta um item para a área de cliente deste item.Occurs when the user drags an item over the client area of this item.

(Inherited from ToolStripItem)
EnabledChanged EnabledChanged EnabledChanged EnabledChanged

Ocorre quando o valor da propriedade Enabled é alterado.Occurs when the Enabled property value has changed.

(Inherited from ToolStripItem)
Enter Enter Enter Enter

Ocorre quando o controle hospedado é inserido.Occurs when the hosted control is entered.

(Inherited from ToolStripControlHost)
ForeColorChanged ForeColorChanged ForeColorChanged ForeColorChanged

Ocorre quando o valor da propriedade ForeColor muda.Occurs when the ForeColor property value changes.

(Inherited from ToolStripItem)
GiveFeedback GiveFeedback GiveFeedback GiveFeedback

Ocorre durante uma operação de arrastar.Occurs during a drag operation.

(Inherited from ToolStripItem)
GotFocus GotFocus GotFocus GotFocus

Ocorre quando o controle hospedado recebe o foco.Occurs when the hosted control receives focus.

(Inherited from ToolStripControlHost)
HideSelectionChanged HideSelectionChanged HideSelectionChanged HideSelectionChanged

Ocorre quando o valor da propriedade HideSelection muda.Occurs when the value of the HideSelection property changes.

KeyDown KeyDown KeyDown KeyDown

Ocorre quando uma tecla é pressionada e mantida pressionada enquanto o controle hospedado tem o foco.Occurs when a key is pressed and held down while the hosted control has focus.

(Inherited from ToolStripControlHost)
KeyPress KeyPress KeyPress KeyPress

Ocorre quando uma tecla é pressionada enquanto o controle hospedado tem o foco.Occurs when a key is pressed while the hosted control has focus.

(Inherited from ToolStripControlHost)
KeyUp KeyUp KeyUp KeyUp

Ocorre quando uma tecla é liberada enquanto o controle hospedado tem o foco.Occurs when a key is released while the hosted control has focus.

(Inherited from ToolStripControlHost)
Leave Leave Leave Leave

Ocorre quando o foco de entrada deixa o controle hospedado.Occurs when the input focus leaves the hosted control.

(Inherited from ToolStripControlHost)
LocationChanged LocationChanged LocationChanged LocationChanged

Ocorre quando o local de um ToolStripItem é atualizado.Occurs when the location of a ToolStripItem is updated.

(Inherited from ToolStripItem)
LostFocus LostFocus LostFocus LostFocus

Ocorre quando o controle hospedado perde o foco.Occurs when the hosted control loses focus.

(Inherited from ToolStripControlHost)
ModifiedChanged ModifiedChanged ModifiedChanged ModifiedChanged

Ocorre quando o valor da propriedade Modified muda.Occurs when the value of the Modified property changes.

MouseDown MouseDown MouseDown MouseDown

Ocorre quando o ponteiro do mouse está sobre o item e um botão do mouse é pressionado.Occurs when the mouse pointer is over the item and a mouse button is pressed.

(Inherited from ToolStripItem)
MouseEnter MouseEnter MouseEnter MouseEnter

Ocorre quando o ponteiro do mouse entra no item.Occurs when the mouse pointer enters the item.

(Inherited from ToolStripItem)
MouseHover MouseHover MouseHover MouseHover

Ocorre quando o ponteiro do mouse focaliza o item.Occurs when the mouse pointer hovers over the item.

(Inherited from ToolStripItem)
MouseLeave MouseLeave MouseLeave MouseLeave

Ocorre quando o ponteiro do mouse deixa o item.Occurs when the mouse pointer leaves the item.

(Inherited from ToolStripItem)
MouseMove MouseMove MouseMove MouseMove

Ocorre quando o ponteiro do mouse é movido sobre o item.Occurs when the mouse pointer is moved over the item.

(Inherited from ToolStripItem)
MouseUp MouseUp MouseUp MouseUp

Ocorre quando o ponteiro do mouse está sobre o item e um botão do mouse é liberado.Occurs when the mouse pointer is over the item and a mouse button is released.

(Inherited from ToolStripItem)
MultilineChanged MultilineChanged MultilineChanged MultilineChanged

Esse evento não é relevante para essa classe.This event is not relevant to this class.

OwnerChanged OwnerChanged OwnerChanged OwnerChanged

Ocorre quando a propriedade Owner muda.Occurs when the Owner property changes.

(Inherited from ToolStripItem)
Paint Paint Paint Paint

Ocorre quando o item é redesenhado.Occurs when the item is redrawn.

(Inherited from ToolStripItem)
QueryAccessibilityHelp QueryAccessibilityHelp QueryAccessibilityHelp QueryAccessibilityHelp

Ocorre quando um aplicativo cliente de acessibilidade invoca a Ajuda para o ToolStripItem.Occurs when an accessibility client application invokes help for the ToolStripItem.

(Inherited from ToolStripItem)
QueryContinueDrag QueryContinueDrag QueryContinueDrag QueryContinueDrag

Ocorre durante uma operação do tipo "arrastar e soltar" e permite que a fonte de arrastar determine se a operação do tipo "arrastar e soltar" deve ser cancelada.Occurs during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled.

(Inherited from ToolStripItem)
ReadOnlyChanged ReadOnlyChanged ReadOnlyChanged ReadOnlyChanged

Ocorre quando o valor da propriedade ReadOnly muda.Occurs when the value of the ReadOnly property changes.

RightToLeftChanged RightToLeftChanged RightToLeftChanged RightToLeftChanged

Ocorre quando o valor da propriedade RightToLeft muda.Occurs when the RightToLeft property value changes.

(Inherited from ToolStripItem)
TextBoxTextAlignChanged TextBoxTextAlignChanged TextBoxTextAlignChanged TextBoxTextAlignChanged

Ocorre quando o valor da propriedade TextBoxTextAlign muda.Occurs when the value of the TextBoxTextAlign property changes.

TextChanged TextChanged TextChanged TextChanged

Ocorre quando o valor da propriedade Text muda.Occurs when the value of the Text property changes.

(Inherited from ToolStripItem)
Validated Validated Validated Validated

Ocorre depois que um controle hospedado é validado com êxito.Occurs after the hosted control has been successfully validated.

(Inherited from ToolStripControlHost)
Validating Validating Validating Validating

Ocorre enquanto o controle hospedado está sendo validado.Occurs while the hosted control is validating.

(Inherited from ToolStripControlHost)
VisibleChanged VisibleChanged VisibleChanged VisibleChanged

Ocorre quando o valor da propriedade Visible muda.Occurs when the value of the Visible property changes.

(Inherited from ToolStripItem)

Implantações explícitas de interface

IDropTarget.OnDragDrop(DragEventArgs) IDropTarget.OnDragDrop(DragEventArgs) IDropTarget.OnDragDrop(DragEventArgs) IDropTarget.OnDragDrop(DragEventArgs)

Aciona o evento DragDrop.Raises the DragDrop event.

(Inherited from ToolStripItem)
IDropTarget.OnDragEnter(DragEventArgs) IDropTarget.OnDragEnter(DragEventArgs) IDropTarget.OnDragEnter(DragEventArgs) IDropTarget.OnDragEnter(DragEventArgs)

Aciona o evento DragEnter.Raises the DragEnter event.

(Inherited from ToolStripItem)
IDropTarget.OnDragLeave(EventArgs) IDropTarget.OnDragLeave(EventArgs) IDropTarget.OnDragLeave(EventArgs) IDropTarget.OnDragLeave(EventArgs)

Aciona o evento DragLeave.Raises the DragLeave event.

(Inherited from ToolStripItem)
IDropTarget.OnDragOver(DragEventArgs) IDropTarget.OnDragOver(DragEventArgs) IDropTarget.OnDragOver(DragEventArgs) IDropTarget.OnDragOver(DragEventArgs)

Aciona o evento DragOver.Raises the DragOver event.

(Inherited from ToolStripItem)

Aplica-se a

Veja também