Aracılığıyla paylaş


ComboBoxContentControl.Temporary Property

Definition

Gets or sets a value that specifies whether the ComboBoxContentControl is automatically deleted from the document when the control is edited.

public:
 property bool Temporary { bool get(); void set(bool value); };
public bool Temporary { get; set; }
member this.Temporary : bool with get, set
Public Property Temporary As Boolean

Property Value

true if the ComboBoxContentControl is automatically deleted when the control is edited; otherwise, false. The default is false.

Exceptions

This property is set when the LockContentControl property is true.

Remarks

If the Temporary property is true, the ComboBoxContentControl is automatically deleted when the user types in the control, or when the text in the control is changed programmatically. When the ComboBoxContentControl is automatically deleted from the document, the text in the control remains in the document.

Applies to