Table of Contents

Class DropDown

Namespace
Whim.Bar
Assembly
Whim.Bar.dll
A custom drop-down control that uses a RadioMenuFlyoutItem for each item. This is used instead of a ComboBox because the ComboBox doesn't easily support variable-width buttons, or have data binding.
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Whim_Bar_BatteryWidgetWinRTTypeDetails))]
public sealed class DropDown : UserControl, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IEquatable<Control>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<UserControl>
Inheritance
DropDown
Implements
IWinRTObject
Inherited Members

Constructors

DropDown()

Initializes a new instance of the DropDown class.
public DropDown()

Fields

ItemsSourceProperty

The items to display in the drop-down.
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

SelectedItemProperty

The selected item in the drop-down.
public static readonly DependencyProperty SelectedItemProperty

Field Value

DependencyProperty

Properties

ItemsSource

The items to display in the drop-down.
public object ItemsSource { get; set; }

Property Value

object

SelectedItem

The selected item in the drop-down.
public string SelectedItem { get; set; }

Property Value

string

Methods

InitializeComponent()

InitializeComponent()
public void InitializeComponent()