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

A control used to display the cell value in GridViewComboBoxColumn when the cell is in display mode. Implements a basic functionality to convert selected value to display value from the lookup data.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class LookupElement : Control

Inheritance: objectLookupElement

Constructors

Initializes a new instance of the LookupElement class.

C#
public LookupElement()

Fields

DisplayMemberPathProperty

DependencyProperty

Identifies the DisplayMemberPath dependency property.

C#
public static readonly DependencyProperty DisplayMemberPathProperty

EmptyTextProperty

DependencyProperty

Identifies the Text dependency property.

C#
public static readonly DependencyProperty EmptyTextProperty

ItemsSourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty ItemsSourceProperty

ItemTemplateProperty

DependencyProperty

Represents the ItemTemplate dependency property.

C#
public static readonly DependencyProperty ItemTemplateProperty

SelectedValuePathProperty

DependencyProperty

Identifies the SelectedValuePath dependency property.

C#
public static readonly DependencyProperty SelectedValuePathProperty

SelectedValueProperty

DependencyProperty

Identifies the SelectedValue dependency property.

C#
public static readonly DependencyProperty SelectedValueProperty

TextProperty

DependencyProperty

Identifies the Text dependency property.

C#
public static readonly DependencyProperty TextProperty

Properties

Gets the RadComboBox used to present the lookup value.

C#
public RadComboBox ComboBox { get; }
Property Value:

The combo box.

Gets or sets the display member path.

C#
public string DisplayMemberPath { get; set; }
Property Value:

The display member path.

Gets or sets the text.

C#
public string EmptyText { get; set; }
Property Value:

The text.

Gets or sets the items source.

C#
public IEnumerable ItemsSource { get; set; }
Property Value:

The items source.

ItemTemplate

DataTemplate

Gets or sets the item template used to represent the selected item in cells.

C#
public DataTemplate ItemTemplate { get; set; }
Property Value:

The item template.

Gets or sets the selected value.

C#
public object SelectedValue { get; set; }
Property Value:

The selected value.

Gets or sets the selected value path.

C#
public string SelectedValuePath { get; set; }
Property Value:

The selected value path.

Gets or sets the text.

C#
public string Text { get; set; }
Property Value:

The text.

Methods

C#
public override void OnApplyTemplate()

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

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs