Class
LookupElement

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:

cs-api-definition
public class LookupElement : Control

Inheritance: objectLookupElement

Constructors

LookupElement()

Initializes a new instance of the LookupElement class.

Declaration

cs-api-definition
public LookupElement()

Fields

DisplayMemberPathProperty

Identifies the DisplayMemberPath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DisplayMemberPathProperty

Field Value

DependencyProperty

EmptyTextProperty

Identifies the Text dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EmptyTextProperty

Field Value

DependencyProperty

ItemTemplateProperty

Represents the ItemTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemTemplateProperty

Field Value

DependencyProperty

ItemsSourceProperty

Identifies the ItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

SelectedValuePathProperty

Identifies the SelectedValuePath dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedValuePathProperty

Field Value

DependencyProperty

SelectedValueProperty

Identifies the SelectedValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SelectedValueProperty

Field Value

DependencyProperty

TextProperty

Identifies the Text dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty TextProperty

Field Value

DependencyProperty

Properties

ComboBox

Gets the RadComboBox used to present the lookup value.

Declaration

cs-api-definition
public RadComboBox ComboBox { get; }

Property Value

RadComboBox

The combo box.

DisplayMemberPath

Gets or sets the display member path.

Declaration

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

Property Value

string

The display member path.

EmptyText

Gets or sets the text.

Declaration

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

Property Value

string

The text.

ItemTemplate

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

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

The item template.

ItemsSource

Gets or sets the items source.

Declaration

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

Property Value

IEnumerable

The items source.

SelectedValue

Gets or sets the selected value.

Declaration

cs-api-definition
public object SelectedValue { get; set; }

Property Value

object

The selected value.

SelectedValuePath

Gets or sets the selected value path.

Declaration

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

Property Value

string

The selected value path.

Text

Gets or sets the text.

Declaration

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

Property Value

string

The text.

Methods

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

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.

OnInitialized(EventArgs)

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs