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.
Inheritance
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class LookupElement : Control
Constructors
LookupElement()
Fields
DisplayMemberPathProperty
Identifies the Display
Declaration
public static readonly DependencyProperty DisplayMemberPathProperty
Field Value
System.
|
EmptyTextProperty
Identifies the Text dependency property.
Declaration
public static readonly DependencyProperty EmptyTextProperty
Field Value
System.
|
ItemsSourceProperty
Identifies the Items
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.
|
ItemTemplateProperty
Represents the ItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
System.
|
SelectedValuePathProperty
Identifies the Selected
Declaration
public static readonly DependencyProperty SelectedValuePathProperty
Field Value
System.
|
SelectedValueProperty
Identifies the Selected
Declaration
public static readonly DependencyProperty SelectedValueProperty
Field Value
System.
|
TextProperty
Identifies the Text dependency property.
Declaration
public static readonly DependencyProperty TextProperty
Field Value
System.
|
Properties
ComboBox
Gets the RadComboBox used to present the lookup value.
Declaration
public RadComboBox ComboBox { get; }
Property Value
Rad The combo box. |
DisplayMemberPath
Gets or sets the display member path.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
System. The display member path. |
EmptyText
Gets or sets the text.
Declaration
public string EmptyText { get; set; }
Property Value
System. The text. |
ItemsSource
Gets or sets the items source.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System. The items source. |
ItemTemplate
Gets or sets the item template used to represent the selected item in cells.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
System. The item template. |
SelectedValue
Gets or sets the selected value.
Declaration
public object SelectedValue { get; set; }
Property Value
System. The selected value. |
SelectedValuePath
Gets or sets the selected value path.
Declaration
public string SelectedValuePath { get; set; }
Property Value
System. The selected value path. |
Text
Gets or sets the text.
Declaration
public string Text { get; set; }
Property Value
System. The text. |
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.
|