Class ListBox
- Namespace
- GHIElectronics.Endpoint.UI.Controls
- Assembly
- GHIElectronics.Endpoint.UI.dll
public class ListBox : ContentControl
- Inheritance
-
ListBox
- Derived
- Inherited Members
Constructors
ListBox()
public ListBox()
Properties
ExtentHeight
Extent height of the scroll area.
public int ExtentHeight { get; }
Property Value
ExtentWidth
Extent width of the scroll area.
public int ExtentWidth { get; }
Property Value
HorizontalOffset
Horizontal offset of the scroll.
public int HorizontalOffset { get; set; }
Property Value
Items
public ListBoxItemCollection Items { get; }
Property Value
ScrollingStyle
The scrolling style.
public ScrollingStyle ScrollingStyle { get; set; }
Property Value
SelectedIndex
public int SelectedIndex { get; set; }
Property Value
SelectedItem
public ListBoxItem SelectedItem { get; set; }
Property Value
VerticalOffset
Vertical offset of the scroll.
public int VerticalOffset { get; set; }
Property Value
Methods
OnButtonDown(ButtonEventArgs)
An event reporting a button was pressed.
protected override void OnButtonDown(ButtonEventArgs e)
Parameters
ScrollIntoView(ListBoxItem)
public void ScrollIntoView(ListBoxItem item)
Parameters
itemListBoxItem
Events
ScrollChanged
Event handler if the scroll changes.
public event ScrollChangedEventHandler ScrollChanged
Event Type
SelectionChanged
public event SelectionChangedEventHandler SelectionChanged