Skip to content

ListBoxMarkupExtensions.HorizontalScroll<T> method

Sets the horizontal scroll mode, Auto by default, so items wider than the viewport scroll horizontally.

public static T HorizontalScroll<T>(this T target, ScrollMode value)
where T : ListBox
parameter description
T Receiver type.
target Target ListBox.
value Value assigned to HorizontalScroll.

The same element for chaining.

Sets: ListBox.HorizontalScroll