Share via


RibbonComboBox.StaysOpenOnEdit Property

Gets or sets a value that indicates whether a combo box that is open and displays a drop-down control will remain open when a user clicks the selection box.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property StaysOpenOnEdit As Boolean
public bool StaysOpenOnEdit { get; set; }
public:
property bool StaysOpenOnEdit {
    bool get ();
    void set (bool value);
}
member StaysOpenOnEdit : bool with get, set
function get StaysOpenOnEdit () : boolean
function set StaysOpenOnEdit (value : boolean)

Property Value

Type: System.Boolean
true to keep the drop-down control open when the user clicks the text area to start editing; otherwise, false. The registered default is false. For more information about what can influence the value, see Dependency Property Value Precedence.

Dependency Property Information

Identifier field

StaysOpenOnEditProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

RibbonComboBox Class

Microsoft.Windows.Controls.Ribbon Namespace