Partager via


MruListBox Class

Definition

MRU ListBox control to display project MRU items

public ref class MruListBox : System::Windows::Controls::ListBox
public class MruListBox : System.Windows.Controls.ListBox
type MruListBox = class
    inherit ListBox
Public Class MruListBox
Inherits ListBox
Inheritance
MruListBox

Constructors

MruListBox()

Constructor

Fields

DisableScrollOnRemoveProperty

When items are removed, it causes this object to get focused. If it's in a scrollviewer, this causes the scrollviewer to "jump" so that this is at the top of the scrollviewer. Setting this to true disables this behavior.

DoNothingCommand

Do nothing routed command We bind to this command handler when we need to eat a UI gesture (ex. LeftDoubleClick)

OpenFolderMruItem

OpenFolderMruItem routed command (opens the currently selected item's folder)

OpenMruItem

OpenMruItem routed command (opens the currently selected item)

RemoveMruItem

RemoveMruItem routed command

Properties

DisableScrollOnRemove

Convenience property for DisableScrollOnRemoveProperty.

Methods

TryFocusFirstItem()

Applies to