Share via


ScrollBarVisibilityExposingListBox Class

Definition

This class's only reason for existence is to expose the ComputedXxxScrollBarVisibility properties from the contained ScrollViewer, which is anonymous in the default ListBox style.

public ref class ScrollBarVisibilityExposingListBox : System::Windows::Controls::ListBox
[System.Windows.TemplatePart(Name="PART_ScrollViewer", Type=typeof(System.Windows.Controls.ScrollViewer))]
public class ScrollBarVisibilityExposingListBox : System.Windows.Controls.ListBox
[<System.Windows.TemplatePart(Name="PART_ScrollViewer", Type=typeof(System.Windows.Controls.ScrollViewer))>]
type ScrollBarVisibilityExposingListBox = class
    inherit ListBox
Public Class ScrollBarVisibilityExposingListBox
Inherits ListBox
Inheritance
ScrollBarVisibilityExposingListBox
Attributes

Constructors

Name Description
ScrollBarVisibilityExposingListBox()

Initializes a new instance of ScrolllBarVisibilityExposingListBox.

Fields

Name Description
ComputedHorizontalScrollBarVisibilityProperty

Gets the computed horizontal scrollbar visibility.

ComputedVerticalScrollBarVisibilityProperty

Gets the computed vertical scrollbar visibility.

Properties

Name Description
ComputedHorizontalScrollBarVisibility

Gets the computed horizontal scrollbar visibility.

ComputedVerticalScrollBarVisibility

Gets the computed vertical scrollbar visibility.

Methods

Name Description
OnApplyTemplate()

Handles the ApplyTemplate event.

Applies to