StatusBarPanel.Icon Propriedade
Definição
Obtém ou define o ícone a ser exibido no painel da barra de status.Gets or sets the icon to display within the status bar panel.
public:
property System::Drawing::Icon ^ Icon { System::Drawing::Icon ^ get(); void set(System::Drawing::Icon ^ value); };
public System.Drawing.Icon Icon { get; set; }
member this.Icon : System.Drawing.Icon with get, set
Public Property Icon As Icon
Valor da propriedade
Um Icon que representa o ícone a ser exibido no painel.An Icon that represents the icon to display in the panel.
Comentários
Você pode usar essa propriedade para exibir um ícone que representa o estado do seu aplicativo ou um processo dentro de seu aplicativo.You can use this property to display an icon that represents the state of your application or a process within your application. Por exemplo, você pode exibir um ícone em um StatusBarPanel para indicar se uma operação de salvamento de arquivo está em andamento ou concluída.For example, you can display an icon in a StatusBarPanel to indicate whether a file save operation is in progress or complete.
Observação
Não é possível posicionar um ícone de forma independente dentro do StatusBarPanel .There is no way to independently position an icon within the StatusBarPanel. Por exemplo, você não pode posicionar um ícone no lado esquerdo do StatusBarPanel ao alinhar o texto no lado direito usando a Alignment propriedade.For example, you cannot position an icon to the left side of the StatusBarPanel while aligning the text on the right side using the Alignment property. O ícone está sempre posicionado no lado esquerdo do texto do painel, independentemente de como o texto é alinhado.The icon is always positioned to the left side of the panel's text regardless of how the text is aligned.