Back to Devexpress

LookUpEdit.Properties Property

windowsforms-devexpress-dot-xtraeditors-dot-lookupedit-33dd60dc.md

latest5.7 KB
Original Source

LookUpEdit.Properties Property

Specifies settings specific to the current editor.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Properties")]
[SmartTagSearchNestedProperties]
public RepositoryItemLookUpEdit Properties { get; }
vb
<DXCategory("Properties")>
<SmartTagSearchNestedProperties>
Public ReadOnly Property Properties As RepositoryItemLookUpEdit

Property Value

TypeDescription
RepositoryItemLookUpEdit

A RepositoryItemLookUpEdit object containing settings for the lookup editor.

|

Remarks

See RepositoryItemLookUpEdit to learn more.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Properties property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-mvvm-cascading-lookups/CS/T223550/MainForm.cs#L15

csharp
InitializeComponent();
mvvmContext1.SetBinding(luMaster.Properties, p => p.DataSource, "Customers");
mvvmContext1.SetBinding(luMaster, p => p.EditValue, "SelectedCustomer");

winforms-lookup-hide-close-button-from-dropdown/CS/WindowsApplication1/MyLookUpEdit.cs#L24

csharp
public new RepositoryItemUserLookUpEdit Properties {
    get { return base.Properties as RepositoryItemUserLookUpEdit; }
}

winforms-lookup-display-custom-text-for-not-found-edit-value/CS/Form1.cs#L50

csharp
if(sender is LookUpEdit)
    props = (sender as LookUpEdit).Properties;
else

winforms-lookup-show-custom-tooltips/CS/LookUpEditWithHints/LookUpEditHints.cs#L21

csharp
public new RepositoryItemLookUpEditHints Properties
{ get { return base.Properties as RepositoryItemLookUpEditHints; } }

how-to-use-the-processnewvalue-event-of-a-lookup-editor-e285/CS/Form1.cs#L47

csharp
RepositoryItemLookUpEdit Edit;
Edit = ((LookUpEdit)sender).Properties;

winforms-mvvm-cascading-lookups/VB/MainForm.vb#L17

vb
InitializeComponent()
mvvmContext1.SetBinding(luMaster.Properties, Function(p) p.DataSource, "Customers")
mvvmContext1.SetBinding(luMaster, Function(p) p.EditValue, "SelectedCustomer")

winforms-lookup-hide-close-button-from-dropdown/VB/WindowsApplication1/MyLookUpEdit.vb#L30

vb
Get
    Return TryCast(MyBase.Properties, RepositoryItemUserLookUpEdit)
End Get

winforms-lookup-display-custom-text-for-not-found-edit-value/VB/Form1.vb#L49

vb
If TypeOf sender Is LookUpEdit Then
    props = TryCast(sender, LookUpEdit).Properties
Else

winforms-lookup-show-custom-tooltips/VB/LookUpEditWithHints/LookUpEditHints.vb#L28

vb
Get
    Return TryCast(MyBase.Properties, RepositoryItemLookUpEditHints)
End Get

how-to-use-the-processnewvalue-event-of-a-lookup-editor-e285/VB/Form1.vb#L47

vb
Dim Edit As RepositoryItemLookUpEdit
Edit = CType(sender, LookUpEdit).Properties
If e.DisplayValue Is Nothing OrElse Edit.NullText.Equals(e.DisplayValue) OrElse String.Empty.Equals(e.DisplayValue) Then Return

See Also

LookUpEdit Class

LookUpEdit Members

DevExpress.XtraEditors Namespace