Skip to main content

Class DropDown

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

public class DropDown : ContentControl

Inheritance

objectCompositionElementTemplatedControlContentControlDropDown

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

Foreground

public CompositionColor Foreground { get; set; }

Property Value

CompositionColor

Items

public IList<CompositionElement> Items { get; }

Property Value

IList<CompositionElement>

Padding

public LayoutThickness Padding { get; set; }

Property Value

LayoutThickness

PlaceholderForeground

public CompositionColor PlaceholderForeground { get; set; }

Property Value

CompositionColor

PlaceholderText

public string? PlaceholderText { get; set; }

Property Value

string?

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

SelectedItem

public CompositionElement? SelectedItem { get; }

Property Value

CompositionElement?

Methods

BuildContent()

protected override CompositionElement? BuildContent()

Returns

CompositionElement?