Skip to main content

Class TabControl

Namespace: VelloSharp.Composition.Controls
Assembly: VelloSharp.Composition.dll

public class TabControl : ContentControl

Inheritance

objectCompositionElementTemplatedControlContentControlTabControl

Inherited Members

ContentControl.Content, ContentControl.BuildContent(), ContentControl.Mount(), ContentControl.Unmount(), TemplatedControl.TemplateApplied, TemplatedControl.Template, TemplatedControl.TemplateRoot, TemplatedControl.IsTemplateApplied, TemplatedControl.Virtualizer, TemplatedControl.Measure(in LayoutConstraints), TemplatedControl.Arrange(in LayoutRect), TemplatedControl.Mount(), TemplatedControl.Unmount(), TemplatedControl.OnApplyTemplate(), TemplatedControl.ApplyTemplate(), TemplatedControl.EnsureTemplate(), TemplatedControl.CaptureVirtualizationPlan(RowViewportMetrics, ColumnViewportMetrics), TemplatedControl.UpdateVirtualization(ReadOnlySpan<VirtualRowMetric>, ReadOnlySpan<VirtualColumnStrip>), CompositionElement.ArrangedBounds, CompositionElement.MeasureConstraints, CompositionElement.DesiredSize, CompositionElement.IsMounted, CompositionElement.Measure(in LayoutConstraints), CompositionElement.Arrange(in LayoutRect), CompositionElement.Mount(), CompositionElement.Unmount(), CompositionElement.GetChildren(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Background

public CompositionColor Background { get; set; }

Property Value

CompositionColor

BorderBrush

public CompositionColor BorderBrush { get; set; }

Property Value

CompositionColor

BorderThickness

public LayoutThickness BorderThickness { get; set; }

Property Value

LayoutThickness

FontSize

public float FontSize { get; set; }

Property Value

float

Items

public IList<TabItem> Items { get; }

Property Value

IList<TabItem>

Padding

public LayoutThickness Padding { get; set; }

Property Value

LayoutThickness

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

SelectedItem

public TabItem? SelectedItem { get; }

Property Value

TabItem?

TabBackground

public CompositionColor TabBackground { get; set; }

Property Value

CompositionColor

TabForeground

public CompositionColor TabForeground { get; set; }

Property Value

CompositionColor

TabInactiveForeground

public CompositionColor TabInactiveForeground { get; set; }

Property Value

CompositionColor

Methods

BuildContent()

protected override CompositionElement? BuildContent()

Returns

CompositionElement?