skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DataFormComboBoxField

Data field displaying and editing Enumeration and lookup data.

Inheritance
System.Object
DataFormDataField
DataFormComboBoxField
Inherited Members
DataFormDataField.ItemProperty
DataFormDataField.ModeProperty
DataFormDataField.DescriptionProperty
DataFormDataField.LabelProperty
DataFormDataField.IsReadOnlyProperty
DataFormDataField.LabelPositionProperty
DataFormDataField.LabelTemplateProperty
DataFormDataField.IsEditingProperty
DataFormDataField.OnItemPropertyChanged(DependencyPropertyChangedEventArgs)
DataFormDataField.OnApplyTemplate()
DataFormDataField.InitializeComponents()
DataFormDataField.PrepareControl()
DataFormDataField.ResetTheme()
DataFormDataField.GetReadOnlyControl()
DataFormDataField.Item
DataFormDataField.Mode
DataFormDataField.Description
DataFormDataField.Label
DataFormDataField.IsReadOnly
DataFormDataField.DataMemberBinding
DataFormDataField.LabelPosition
DataFormDataField.LabelTemplate
DataFormDataField.IsEditing
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Data.dll

Syntax

[TelerikToolboxCategory("Input")]
public class DataFormComboBoxField : DataFormDataField, IThemable

Constructors

DataFormComboBoxField()

Declaration
public DataFormComboBoxField()

Fields

DisplayMemberPathProperty

Identifies the DisplayMemberPath dependency property.

Declaration
public static readonly DependencyProperty DisplayMemberPathProperty
Field Value
System.Windows.DependencyProperty

IsComboboxEditableProperty

Represents the IsComboBoxEditable dependency property.

Declaration
public static readonly DependencyProperty IsComboboxEditableProperty
Field Value
System.Windows.DependencyProperty

ItemsSourceProperty

Represents the ItemsSource dependency property.

Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
System.Windows.DependencyProperty

SelectedIndexProperty

Represents the SelectedIndex dependency property.

Declaration
public static readonly DependencyProperty SelectedIndexProperty
Field Value
System.Windows.DependencyProperty

SelectedValuePathProperty

Identifies the SelectedValuePath dependency property.

Declaration
public static readonly DependencyProperty SelectedValuePathProperty
Field Value
System.Windows.DependencyProperty

Properties

DisplayMemberPath

Gets or sets the DisplayMemberPath.

Declaration
public string DisplayMemberPath { get; set; }
Property Value
System.String

IsComboboxEditable

Gets or sets a value indicating whether the user can edit text in the text box portion of the ComboBox editor.

Declaration
public bool IsComboboxEditable { get; set; }
Property Value
System.Boolean

ItemsSource

Gets or Sets the ItemsSource to be used by the internal combo.

Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable

SelectedIndex

Gets or sets the index of the selected item.

Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32

The index of the selected.

SelectedValuePath

Gets or sets the SelectedValuePath.

Declaration
public string SelectedValuePath { get; set; }
Property Value
System.String

Methods

GetControl()

Returns a control to display and edit the underlying data.

Declaration
protected override Control GetControl()
Returns
System.Windows.Controls.Control

Overrides
DataFormDataField.GetControl()

GetControlBindingProperty()

Returns the dependency property of the control to be bound to the underlying data.

Declaration
protected override DependencyProperty GetControlBindingProperty()
Returns
System.Windows.DependencyProperty

Overrides
DataFormDataField.GetControlBindingProperty()

OnCreateAutomationPeer()

Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.

Overrides
DataFormDataField.OnCreateAutomationPeer()

OnUnloaded(Object, RoutedEventArgs)

Called when DataFormDataField gets unloaded.

Declaration
protected override void OnUnloaded(object sender, RoutedEventArgs e)
Parameters
System.Object sender

The sender.

System.Windows.RoutedEventArgs e

The System.Windows.RoutedEventArgs instance containing the event data.

Overrides
DataFormDataField.OnUnloaded(Object, RoutedEventArgs)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.