Table of Contents

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

int

ExtentWidth

Extent width of the scroll area.

public int ExtentWidth { get; }

Property Value

int

HorizontalOffset

Horizontal offset of the scroll.

public int HorizontalOffset { get; set; }

Property Value

int

Items

public ListBoxItemCollection Items { get; }

Property Value

ListBoxItemCollection

ScrollingStyle

The scrolling style.

public ScrollingStyle ScrollingStyle { get; set; }

Property Value

ScrollingStyle

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

SelectedItem

public ListBoxItem SelectedItem { get; set; }

Property Value

ListBoxItem

VerticalOffset

Vertical offset of the scroll.

public int VerticalOffset { get; set; }

Property Value

int

Methods

OnButtonDown(ButtonEventArgs)

An event reporting a button was pressed.

protected override void OnButtonDown(ButtonEventArgs e)

Parameters

e ButtonEventArgs

ScrollIntoView(ListBoxItem)

public void ScrollIntoView(ListBoxItem item)

Parameters

item ListBoxItem

Events

ScrollChanged

Event handler if the scroll changes.

public event ScrollChangedEventHandler ScrollChanged

Event Type

ScrollChangedEventHandler

SelectionChanged

public event SelectionChangedEventHandler SelectionChanged

Event Type

SelectionChangedEventHandler