Class
DataFormComboBoxField

Data field displaying and editing Enumeration and lookup data.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Input")]
public class DataFormComboBoxField : DataFormDataField

Inheritance: objectDataFormDataFieldDataFormComboBoxField

Inherited Members DataFormDataField.ItemPropertyDataFormDataField.ModePropertyDataFormDataField.DescriptionPropertyDataFormDataField.LabelPropertyDataFormDataField.IsReadOnlyPropertyDataFormDataField.LabelPositionPropertyDataFormDataField.LabelTemplatePropertyDataFormDataField.IsEditingPropertyDataFormDataField.OnItemPropertyChanged(DependencyPropertyChangedEventArgs)DataFormDataField.OnApplyTemplate()DataFormDataField.InitializeComponents()DataFormDataField.OnInitialized(EventArgs)DataFormDataField.PrepareControl()DataFormDataField.ResetTheme()DataFormDataField.GetReadOnlyControl()DataFormDataField.OnMouseLeftButtonUp(MouseButtonEventArgs)DataFormDataField.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)DataFormDataField.ItemDataFormDataField.ModeDataFormDataField.DescriptionDataFormDataField.LabelDataFormDataField.IsReadOnlyDataFormDataField.DataMemberBindingDataFormDataField.LabelPositionDataFormDataField.LabelTemplateDataFormDataField.IsEditing

Constructors

DataFormComboBoxField()

Declaration

cs-api-definition
public DataFormComboBoxField()

Fields

DisplayMemberPathProperty

Identifies the DisplayMemberPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DisplayMemberPathProperty

Field Value

DependencyProperty

IsComboboxEditableProperty

Represents the IsComboBoxEditable dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsComboboxEditableProperty

Field Value

DependencyProperty

ItemsSourceProperty

Represents the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

SelectedIndexProperty

Represents the SelectedIndex dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedIndexProperty

Field Value

DependencyProperty

SelectedValuePathProperty

Identifies the SelectedValuePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedValuePathProperty

Field Value

DependencyProperty

Properties

DisplayMemberPath

Gets or sets the DisplayMemberPath.

Declaration

cs-api-definition
public string DisplayMemberPath { get; set; }

Property Value

string

IsComboboxEditable

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

Declaration

cs-api-definition
public bool IsComboboxEditable { get; set; }

Property Value

bool

ItemsSource

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

Declaration

cs-api-definition
public IEnumerable ItemsSource { get; set; }

Property Value

IEnumerable

SelectedIndex

Gets or sets the index of the selected item.

Declaration

cs-api-definition
public int SelectedIndex { get; set; }

Property Value

int

The index of the selected.

SelectedValuePath

Gets or sets the SelectedValuePath.

Declaration

cs-api-definition
public string SelectedValuePath { get; set; }

Property Value

string

Methods

GetControl()

Returns a control to display and edit the underlying data.

Declaration

cs-api-definition
protected override Control GetControl()

Returns

Control

Overrides DataFormDataField.GetControl()

GetControlBindingProperty()

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

Declaration

cs-api-definition
protected override DependencyProperty GetControlBindingProperty()

Returns

DependencyProperty

Overrides DataFormDataField.GetControlBindingProperty()

OnCreateAutomationPeer()

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

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

Overrides DataFormDataField.OnCreateAutomationPeer()

OnUnloaded(object, RoutedEventArgs)

Called when DataFormDataField gets unloaded.

Declaration

cs-api-definition
protected override void OnUnloaded(object sender, RoutedEventArgs e)

Parameters

sender

object

The sender.

e

RoutedEventArgs

The RoutedEventArgs instance containing the event data.

Overrides DataFormDataField.OnUnloaded(object, RoutedEventArgs)