ClassLookupElement
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:
public class LookupElement : Control
Inheritance: objectLookupElement
Constructors
LookupElement()
Initializes a new instance of the LookupElement class.
Declaration
public LookupElement()
Fields
DisplayMemberPathProperty
Identifies the DisplayMemberPath dependency property.
Declaration
public static readonly DependencyProperty DisplayMemberPathProperty
Field Value
DependencyProperty
EmptyTextProperty
Identifies the Text dependency property.
Declaration
public static readonly DependencyProperty EmptyTextProperty
Field Value
DependencyProperty
ItemTemplateProperty
Represents the ItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
DependencyProperty
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
DependencyProperty
SelectedValuePathProperty
Identifies the SelectedValuePath dependency property.
Declaration
public static readonly DependencyProperty SelectedValuePathProperty
Field Value
DependencyProperty
SelectedValueProperty
Identifies the SelectedValue dependency property.
Declaration
public static readonly DependencyProperty SelectedValueProperty
Field Value
DependencyProperty
TextProperty
Identifies the Text dependency property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
DependencyProperty
Properties
ComboBox
Gets the RadComboBox used to present the lookup value.
Declaration
public RadComboBox ComboBox { get; }
Property Value
The combo box.
DisplayMemberPath
Gets or sets the display member path.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
The display member path.
EmptyText
Gets or sets the text.
ItemTemplate
Gets or sets the item template used to represent the selected item in cells.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
DataTemplate
The item template.
ItemsSource
Gets or sets the items source.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
The items source.
SelectedValue
Gets or sets the selected value.
Declaration
public object SelectedValue { get; set; }
Property Value
The selected value.
SelectedValuePath
Gets or sets the selected value path.
Declaration
public string SelectedValuePath { get; set; }
Property Value
The selected value path.
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The type-specific AutomationPeer implementation.
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e