StatusBarPanel.MinWidth Propriedade

Definição

Obtém ou define a largura mínima permitida do painel da barra de status dentro do controle StatusBar.Gets or sets the minimum allowed width of the status bar panel within the StatusBar control.

public:
 property int MinWidth { int get(); void set(int value); };
public int MinWidth { get; set; }
member this.MinWidth : int with get, set
Public Property MinWidth As Integer

Valor da propriedade

Int32

A largura mínima, em pixels, do StatusBarPanel .The minimum width, in pixels, of the StatusBarPanel.

Exceções

Um valor menor que 0 é atribuído à propriedade.A value less than 0 is assigned to the property.

Comentários

A MinWidth propriedade é usada quando a AutoSize propriedade é definida como Contents ou Spring para impedir que o StatusBarPanel seja redimensionado automaticamente para uma largura muito pequena.The MinWidth property is used when the AutoSize property is set to Contents or Spring to prevent the StatusBarPanel from automatically resizing to a width that is too small. Quando a AutoSize propriedade é definida como None , a MinWidth propriedade é definida automaticamente com o mesmo valor que a Width propriedade.When the AutoSize property is set to None, the MinWidth property is automatically set to the same value as the Width property.

Aplica-se a

Confira também