TabAppearance Sabit listesi
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Sekme denetimindeki sekmelerin görünümünü belirtir.
public enum class TabAppearance
public enum TabAppearance
type TabAppearance =
Public Enum TabAppearance
- Devralma
Alanlar
| Name | Değer | Description |
|---|---|---|
| Normal | 0 | Sekmeler, sekmelerin standart görünümüne sahiptir. |
| Buttons | 1 | Sekmeler üç boyutlu düğmelerin görünümüne sahiptir. |
| FlatButtons | 2 | Sekmeler düz düğmelerin görünümüne sahiptir. |
Örnekler
Aşağıdaki kod örneği, ve TabControl.Alignment özelliklerinin ve TabControl.AppearanceTabAlignment numaralandırmalarının nasıl kullanılacağını TabAppearance gösterir. Örneği çalıştırmak için aşağıdaki kodu TabControl1 adlı bir TabControl formun içinde yapıştırın. Formun oluşturucusunda veya Load yönteminde ChangeTheLookOfTheTabControl yöntemini çağırın.
private:
void ChangeTheLookOfTheTabControl()
{
// Set the size and location of the TabControl.
this->TabControl1->Location = System::Drawing::Point( 20, 20 );
TabControl1->Size = System::Drawing::Size( 250, 250 );
// Align the tabs along the bottom of the control.
TabControl1->Alignment = TabAlignment::Bottom;
// Change the tabs to flat buttons.
TabControl1->Appearance = TabAppearance::FlatButtons;
}
private void ChangeTheLookOfTheTabControl()
{
// Set the size and location of the TabControl.
this.TabControl1.Location = new System.Drawing.Point(20, 20);
TabControl1.Size = new System.Drawing.Size(250, 250);
// Align the tabs along the bottom of the control.
TabControl1.Alignment = TabAlignment.Bottom;
// Change the tabs to flat buttons.
TabControl1.Appearance = TabAppearance.FlatButtons;
}
Private Sub ChangeTheLookOfTheTabControl()
' Set the size and location of the TabControl.
Me.TabControl1.Location = New System.Drawing.Point(20, 20)
TabControl1.Size = New System.Drawing.Size(250, 250)
' Align the tabs along the bottom of the control.
TabControl1.Alignment = TabAlignment.Bottom
' Change the tabs to flat buttons.
TabControl1.Appearance = TabAppearance.FlatButtons
End Sub
Açıklamalar
Bu numaralandırma gibi TabControl.Appearanceüyeler tarafından kullanılır.