New to Telerik UI for WPFStart a free 30-day trial

Data field displaying and editing Enumeration and lookup data.

Definition

Constructors

C#
public DataFormComboBoxField()

Fields

DisplayMemberPathProperty

DependencyProperty

Identifies the DisplayMemberPath dependency property.

C#
public static readonly DependencyProperty DisplayMemberPathProperty

IsComboboxEditableProperty

DependencyProperty

Represents the IsComboBoxEditable dependency property.

C#
public static readonly DependencyProperty IsComboboxEditableProperty

ItemsSourceProperty

DependencyProperty

Represents the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

SelectedIndexProperty

DependencyProperty

Represents the SelectedIndex dependency property.

C#
public static readonly DependencyProperty SelectedIndexProperty

SelectedValuePathProperty

DependencyProperty

Identifies the SelectedValuePath dependency property.

C#
public static readonly DependencyProperty SelectedValuePathProperty

Properties

Gets or sets the DisplayMemberPath.

C#
public string DisplayMemberPath { get; set; }

Gets or sets a value indicating whether the user can edit text in the text box portion of the ComboBox editor.

C#
public bool IsComboboxEditable { get; set; }

Gets or Sets the ItemsSource to be used by the internal combo.

C#
public IEnumerable ItemsSource { get; set; }

Gets or sets the index of the selected item.

C#
public int SelectedIndex { get; set; }
Property Value:

The index of the selected.

Gets or sets the SelectedValuePath.

C#
public string SelectedValuePath { get; set; }

Methods

Returns a control to display and edit the underlying data.

C#
protected override Control GetControl()
Returns:

Control

Overrides: DataFormDataField.GetControl()

GetControlBindingProperty()

DependencyProperty

Returns the dependency property of the control to be bound to the underlying data.

C#
protected override DependencyProperty GetControlBindingProperty()
Returns:

DependencyProperty

Overrides: DataFormDataField.GetControlBindingProperty()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Overrides: DataFormDataField.OnCreateAutomationPeer()

Called when DataFormDataField gets unloaded.

C#
protected override void OnUnloaded(object sender, RoutedEventArgs e)
Parameters:senderobject

The sender.

eRoutedEventArgs

The RoutedEventArgs instance containing the event data.

Overrides: DataFormDataField.OnUnloaded(object, RoutedEventArgs)