編輯

共用方式為


DataGridComboBoxColumn.TextBinding Property

Definition

Gets or sets the binding for the text in the text box portion of the ComboBox control.

public:
 virtual property System::Windows::Data::BindingBase ^ TextBinding { System::Windows::Data::BindingBase ^ get(); void set(System::Windows::Data::BindingBase ^ value); };
public virtual System.Windows.Data.BindingBase TextBinding { get; set; }
member this.TextBinding : System.Windows.Data.BindingBase with get, set
Public Overridable Property TextBinding As BindingBase

Property Value

The binding for the text of the currently selected item.

Remarks

Setting the TextBinding property is equivalent to setting the Text property of the ComboBox control.

Applies to