[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.StaysOpen

StaysOpen Property

StaysOpen

Gets or sets a value that indicates whether the DropDownWindow closes when the control is no longer in focus. This is a dependency property.

Declaration
[Bindable(true)]
public bool StaysOpen { get; set; }
<Bindable(True)>
Public Property StaysOpen As Boolean
Property Value
Type Description
bool

true if the Popup control closes when the control is no longer in focus; otherwise, false. The default is true.

Remarks

When the StaysOpen property is set to true, DropDownWindow stays open until it is explicitly closed by setting the IsOpen property to false. When StaysOpen is false, the DropDownWindow control intercepts all mouse and keyboard events to determine when one of these events occurs outside the DropDownWindow control.