Data field displaying and editing Enumeration and lookup data.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Data.dll
Syntax:
[TelerikToolboxCategory("Input")]
public class DataFormComboBoxField : DataFormDataField
Inheritance: objectDataFormDataFieldDataFormComboBoxField
Inherited Members
Constructors
public DataFormComboBoxField()
Fields
DisplayMemberPathProperty
DependencyProperty
Identifies the DisplayMemberPath dependency property.
public static readonly DependencyProperty DisplayMemberPathProperty
IsComboboxEditableProperty
DependencyProperty
Represents the IsComboBoxEditable dependency property.
public static readonly DependencyProperty IsComboboxEditableProperty
ItemsSourceProperty
DependencyProperty
Represents the ItemsSource dependency property.
public static readonly DependencyProperty ItemsSourceProperty
SelectedIndexProperty
DependencyProperty
Represents the SelectedIndex dependency property.
public static readonly DependencyProperty SelectedIndexProperty
SelectedValuePathProperty
DependencyProperty
Identifies the SelectedValuePath dependency property.
public static readonly DependencyProperty SelectedValuePathProperty
Properties
Gets or sets the DisplayMemberPath.
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.
public bool IsComboboxEditable { get; set; }
Gets or Sets the ItemsSource to be used by the internal combo.
public IEnumerable ItemsSource { get; set; }
Gets or sets the index of the selected item.
public int SelectedIndex { get; set; }
The index of the selected.
Gets or sets the SelectedValuePath.
public string SelectedValuePath { get; set; }
Methods
GetControl()
Control
Returns a control to display and edit the underlying data.
protected override Control GetControl()
Control
Overrides:
GetControlBindingProperty()
DependencyProperty
Returns the dependency property of the control to be bound to the underlying data.
protected override DependencyProperty GetControlBindingProperty()
DependencyProperty
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Overrides:
Called when DataFormDataField gets unloaded.
protected override void OnUnloaded(object sender, RoutedEventArgs e)
The sender.
eRoutedEventArgsThe RoutedEventArgs instance containing the event data.
Overrides: