Input for WinForms | ComponentOne
C1.Win.Input Namespace / C1ComboBox Class / TranslateValue Property

In This Topic
    TranslateValue Property (C1ComboBox)
    In This Topic
    Gets or sets a value indicating that the C1.Win.Input.Base.C1DropDownEditorBase.Value property should be translated to the System.Windows.Forms.Control.Text property using the ComboBoxItem.DisplayText property.
    Syntax
    'Declaration
     
    
    Public Property TranslateValue As Boolean
    public bool TranslateValue {get; set;}
    Remarks
    When TranslateValue is true:
    • ComboBoxItem.Value => C1ComboBox.Value
    • ComboBoxItem.DisplayText => C1ComboBox.Text
    When TranslateValue is false:
    • ComboBoxItem.Value => C1ComboBox.Value
    • ComboBoxItem.Value => C1ComboBox.Text
    See Also