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